Sign up for FlowVella
Sign up with FacebookAlready have an account? Sign in now
By registering you are agreeing to our
Terms of Service
Loading Flow
https://media.goboard.io/cs183
Basic Commands (cont)
n tar
q $ tar cvfp lab1.tar lab1
n gzip
q $ gzip -9 lab1.tar
n untar & ungzip
q $ gzip -cd lab1.tar.gz | tar xvf –
q $ tar xvfz lab1.tar.gz
n touch
q $ touch foo
q $ cat /dev/null > foo
n Pipe
q $ cal > foo
q $ cat /dev/zero > foo
q $ cat < /etc/passwd
q $ who | cut -d’ ‘ -f1 | sort | uniq | wc –l
n backtick
q $ echo “The date is `date`”
q $ echo `seq 1 10`
n Hard, soft (symbolic) link
q ln vmlinuz-2.6.24.4 vmlinuz
q ln -s firefox-2.0.0.3 firefox