unix beginning
1 touch filename->creat file wc -clL filename-> count the file2 chown 503 /abc = chown username /abc chgroup groupname filename
3 umask 022 -> 644 666
4 /etc/fstab quotacheck -acug /home cd /home touch quotas chmod 600 quotas edquota jeff
5 rm -irf i->ask yes or no more less->space:next screen B:back screen
6 ls `pwd`=ls $(pwd)= pwd|ls ls -l /etc | more ls>filename sort<terms->from terms file sort myprog 2>errfile sort <terms>terms-alpha |mail fred ->send mail to fred and sort from terms
7 *->1 or more ?->1 []->1
8 apropos gzip->find keyword in path whereis gunzip
9 man=info info apropos
10 LD_LIBRARY_PATH->high level than PATH, usually use it to test program
11 LD_DEBUG export LD_DEBUG=help Is
12 DLL /etc/ld.so.conf->lib set freeBSD->/var/run/ls.so.hints
13 alias rm="rm -i"
14 set -> path set /etc/profile personal -> /home/username/.bashrc /home/username/.profile source /etc/profile
15 PATH=$PATH:/home/jane PATH=PATH export PATH
16 PS1="[\u@\h \w\$" \t->now time \d->now date \s->now shell \W->work dir \w->all work dir \u->user name \h->computer name \$->root or general user
17 df -k -> disk usage du /etc/ -> dir usage -h -> human readable fsck->check file system FTB
18 head -n 15 /etc/profile tail -n 15 /etc/profile