Linux Command

Basic Linux Command list: Are you new to Linux or just a little rusty? Here are all the commands you’ll need to know. Think of this as an essential reference for the Linux Server terminal. This applies to the macOS command line, too.

Linux includes a large number of commands, but we’ve chosen the most important ones to present here. Learn these commands, and you’ll be much more at home at the Linux command prompt.

The below list is presented in alphabetical order. A command’s position in the list is not representative of its usefulness or simplicity. For the final word on a command’s usage, refer to its man pages. The man command is in our list, of course—it’s short for “manual”

  • Listing directory contents ( ls command)
  • Displaying file contents ( cat command)
  • Creating files ( touch command)
  • Creating directories ( mkdir command)
  • Create symbolic links ( ln command)
  • Removing files and directories ( rm command)
  • Copying files and directories ( cp command)