Here are some of the most commonly used Linux commands: ls: Lists the contents of the current directory. cd: Changes the current directory. pwd: Prints the current working directory. mkdir: Creates a new directory. rmdir: Removes an empty directory. cp: Copies a file or directory. mv: Moves a file or directory. rm: Removes a file or directory. touch: Creates a new file or updates the timestamp of an existing file. cat: Concatenates files and prints them to the standard output. grep: Searches for a pattern in a file or files. find: Searches for files and directories based on... Show more Here are some of the most commonly used Linux commands: ls: Lists the contents of the current directory. cd: Changes the current directory. pwd: Prints the current working directory. mkdir: Creates a new directory. rmdir: Removes an empty directory. cp: Copies a file or directory. mv: Moves a file or directory. rm: Removes a file or directory. touch: Creates a new file or updates the timestamp of an existing file. cat: Concatenates files and prints them to the standard output. grep: Searches for a pattern in a file or files. find: Searches for files and directories based on criteria such as name, size, and permissions. man: Displays the manual page for a command. sudo: Allows a user to run a command with root privileges. Related Test: Linux Basics Practice Test: Linux Environment Show less
Here are some of the most commonly used Linux commands: ls: Lists the contents of the current directory. cd: Changes the current directory. pwd: Prints the current working directory. mkdir: Creates a new directory. rmdir: Removes an empty directory. cp: Copies a file or directory. mv: Moves a file or directory. rm: Removes a file or directory. touch: Creates a new file or updates the timestamp of an existing file. cat: Concatenates files and prints them to the standard output. grep: Searches for a pattern in a file or files. find: Searches for files and directories based on criteria such as name, size, and permissions. man: Displays the manual page for a command. sudo: Allows a user to run a command with root privileges.
Related Test: Linux Basics Practice Test: Linux Environment
Join 4M+ learners. Unlock unlimited quizzes, wrong-answer tracking, flashcards + reminders, study guides, and 1-on-1 challenges.