Created
August 25, 2018 10:49
-
-
Save JQL/643caed8721070e926eb3b98ecd56a6a to your computer and use it in GitHub Desktop.
Some terminal file commands.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File Commands | |
Some terminal file commands. | |
## __Warning__: The rm command removes files and directories. using the wrong switches with the rm command can delete the WHOLE of your Linux system! Always double check the command when using rm. | |
COMMANDS & LINKS: | |
mkdir stuff : Make a directory called stuff | |
rm -r stuff : Remove the directory called stuff | |
rm -rf stuff : Force the removal of the direcotry called stuff - USE WITH EXTREME CARE. Here Be Dragons!! | |
touch stuff : Create or replace a file called stuff | |
rm stuff : Remove a file called stuff | |
mv stuff mystuff : Rename the file stuff to mystuff | |
cp mystuff stuff : Copy the file mystuff to mstuff | |
mv mystuff ~/Documents/mystuff : Move the file called stuff to your Documents directory |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment