Shell commands

  • ls: List directory contents

  • cd: Change the current directory

  • mkdir: Create a new directory

  • rm: Remove files or directories

  • pwd: Print the current working directory

  • hostname: Display the name of the current host system.

  • rmdir: Remove empty directories.

  • pushd: push directory

  • popd: pop directory

  • cp: copy a file or directory

  • mv: move a file or directory

  • less: page through a file

  • cat: print the whole file

  • xargs: execute arguments

  • find: find files

  • man: read manual

  • apropos: find which manual page is appropriate

  • grep: search for specific patterns within files.

  • env: look at your environment

  • echo: print some arguments

  • export: export/set a new environment variable or update an existing one.

  • exit: exit the shell

  • sudo: super user