Linux command cheat sheet

  1. File && Directory
  2. Privilege

File && Directory

# show all file info
ls -lah
# show current path
pwd
# show current directory and subdirectory in tree
tree

Privilege

chmod
chown