Bash and Linux 5 cheatsheet
Bash and Linux 5: Files and directories
9 common Bash and Linux 5 tasks.
Move or rename a file
Move a file, or rename it by giving a new name in the same folder.
mv old-name.txt new-name.txt
Delete a directory
Remove a folder and everything inside it, without prompting.
rm -rf build/
Caution: Deleted files do not go to a trash. Double-check the path, especially with variables or wildcards.