- ls - Lists the files and directories in a directory.
- cd - Changes the current working directory.
- pwd - Prints the current working directory.
- mkdir - Creates a new directory.
- touch - Creates a new file.
- rm - Removes a file or directory.
- cp - Copies a file or directory.
- mv - Moves or renames a file or directory.
- cat - Displays the contents of a file.
- grep - Searches for a specified pattern in a file or a stream of text.
- find - Finds files and directories based on specified criteria.
- top - Shows the processes running on the system and their resource usage.
- free - Shows the amount of free and used memory on the system.
- df - Shows the amount of free and used disk space on the system.
- man - Shows the manual page for a command, which provides more detailed information about how to use the command and its options.
Also, sudo command is used to run a command with superuser privileges, while su command is used to switch to the superuser.
cat command is used to display the contents of a file, grep command is used to search for a string in a file and find command is used to search for files in a directory.
Please note that these commands may work differently on different Linux distributions.
That’s it.
INFO
If you would have any questions or concerns, please leave your comments. I would be glad to explain in more details. Thank you so much for all your feedback and support!
Comments (0)
Please sign in to leave a comment.
No comments yet. Be the first to share your thoughts!