Common command
top: shows the resources being useddu -s -h: shows the storage of the directorycat /var/log/dmesg | wc -l: shows the number of lines of a file, a similar example isw | wc -l- call a variable: use a $
- export PATH=”~/bin:$PATH”: search the personal path first, and then the system path.
chmod
- For private files or directory, use
chmod 700 fileto ensure no one else would be able to see.
- For private files or directory, use