Sei sulla pagina 1di 2

Visual Editor Commands and Navigation

su sam su - sam tail filename1 tail -50 filename1 tail -f sam sam Cursor Movement h,j,k,l O,$ w CTRL-D CTRL-U G 1G CTRL-R CTRL-L Searching / ? n Line Numbering CTRL-G :99 Inserting Text a A i I o ESC Changing Text cw cc C dd 5dd D u U Moving Text yy p Saving and Exiting ZZ :wq :q! :n :w filename1

filename1 filename1

tar -cvf /dev/rmt/0c /usr/bin/* /usr/bin /dev/rmt/ tar -xvf /dev/rmt/0 /usr/bin/ /dev/rmt/0 tar -tvf /dev/rmt/0c tee tee -a /tmp/filename1 filename1 telnet hostb touch filename1 filename1 uname -a uncompress filename1 compress uptime users uucp view filename1 w wall wc -l filename1 filename1 wc -c filename1 filename1 -m wc -w filename1 filename1 whence filename2 filename2 which filename2 who who am i who -b who -r

/usr/bin/

99

hostb

Common UNIX System V Commands Pocket Guide

man

ZZ filename1

Symbols
> < >> | & ; * ?

Common UNIX 5VR4 Commands man cat filename1 > filename2 filename2 filename1 cat filename1 filename2 filename1 filename2 cd /usr cd .. cd chgrp group1 filename1 filename1 chgrp -R group1 * chmod ugo+rwx filename1 chmod o x filename1 chmod 751 filename1 man chown sam filename1 filename1 sam chown -R sam * clear compress filename1 filename1.Z cp filename1 filename2 filename2 cp -i * /usr/local/bin /usr/local/bin i cpio crontab -e crontab -e bill crontab -l csh cut -d: -f1,5 /etc/passwd who | cut -d" " -f1 man man date date +%D
dd df df -k

ls -al ls -al *.doc ls -al /bin/k*

.doc k /bin sam dirx dirx /usr/opt

man

/usr

echo name echo $PATH ed/edit/ex env file filename1 filename1

vi

mail sam mailx sam mkdir -p /usr/opt/dirx make mkdir dirx more filename1 filename1 man mv filename1 /usr/opt/ /usr/opt cp netstat -i netstat -r netstat -rn netstat -a | more newgrp group1 news

filename1 mv

group 1 filename1

find /usr/opt/bin -name "filename1*" -print /usr/opt/bin filename1 find . -type f -print | xargs grep -i [PATTERN] find . ! -mtime -<days> | /usr/bin/xargs rm -rf finger sam ftp solar sam man /etc/passwd filename1 sam filename1

sam filename1 uncompress filename1

sola

man bill man

grep jdoe /etc/passwd "jdoe" grep -i Sam filename1 Sam groups sam head filename1 head -50 filename1 filename1 id kill -9 1351 ksh

nice/renice passwd ps ps -ef pwd rcp filename1 hostb:/usr/local/bin filename1 /usr/local/bin rksh rlogin hostb rm filename1 rm -i filename1 rmdir dirx rmdir -r dirx rsh sar sh sleep 3 stty sane stty erase ^H

hostb

filename1 filename1 dirx

hostb

man

ln -s filename1 /usr/opt/filename2 /usr/opt/filename2 filename1 man lp -d lp1 filename1 filename1 lp1 lpstat -d lpstat -a lpstat -s lpstat -u sam sam

^H

Copyright 2007 Solution Beacon, LLC. All Rights Reserved.