Ethical Hacking: Commands
by jerdy on 3/04/2019In this post, I will show some basic Linux commands.
- cd <directory> : changes to the specified directory.
- cd .. : moves the current working director backwards.
- pwd : prints the current working directory.
- ls : lists all files and directories.
- ls -a : lists all files and directories including hidden files.
- touch <file> : creates an empty file
- cat <file>: print everything inside the file
- mkdir <directory> : creates a new folder with the specified name
- mv <file> <new location>: moves a file to the specified directory
- rm <file> : removes the specified file
- rm * : removes all files in the specified directory
- rm -r <directory> : removes a directory and all the files inside it
- clear: clears the terminal
- man <command> : prints out the manual of the specified command
- nano <file> : opens a simple terminal text editor for the file
There are 1,604 comments in this article: