Created by Jordan Hus
almost 8 years ago
|
||
Question | Answer |
Command to display current user | whoami |
Command to use redirection | command > filename |
Command to append data | command >> filename |
Command to display data | more filename |
Command to display last ten lines of a file | tail -10 filename |
Command to display commands used | history |
Command to execute last command | !! |
Command to execute last command that starts with a certain string | ! string |
Command to copy a file | cp filename newfilename |
Command to rename a file | mv filename newfilename |
Command to delete a file | rm -f filename |
Command to create an alias | alias del="rm -f filename" |
Command to create a directory | mkdir filename |
Want to create your own Flashcards for free with GoConqr? Learn more.