04.04.2013 Views

Introduction to Unix and Networks

Introduction to Unix and Networks

Introduction to Unix and Networks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Tr y some more X applications which are in /usr/bin/X11 or /usr/openwin/demo:<br />

xlogo &, <strong>to</strong>tally useless<br />

xe y es &, quite fun for 3 minutes<br />

xbiff &, useful<br />

hexcalc &, you thought you had escaped from hex!<br />

psycho &, desperate demonstration for salesmen<br />

xfontsel &, useful Xfont browser<br />

worm &, horr id<br />

xfig &, you need <strong>to</strong> study for this<br />

xedit &, Istill prefer emacs<br />

xloadimage, nice <strong>to</strong> see some high class images, look in /pub/gifs/....<br />

xmh &, mail h<strong>and</strong>ling prog<br />

xload &, keep a watch on the ethernet<br />

xman &, manual pages browser utility, could be useful<br />

roids &, shoot cosmic rocks before they collide with your space ship<br />

puzzle &, saves all those little bits of yellow not-quite-sliding plastic<br />

xtrek &, dubious benefit <strong>to</strong> mankind<br />

xkill, kills off x applications!<br />

rob@milly [46] ps -FA | grep rob<br />

rob 9713 1 0 Feb 17 ?4:07emacs -fn fixed -geometry 79x26+0+0<br />

rob 10991 8324 0 11:17:36 pts/110:14ghostview /tmp/rob.ps<br />

rob 15241 10991 017:54:42 pts/110:03gs -sDEVICE=x11 -dNOPAUSE -dQUIET -dSAFER -<br />

rob 9810 9713 0 Feb 17 ?0:00/usr/local/bin/ispell -a -m -B<br />

rob 8323 9160 008:29:47 ?0:09xterm<br />

rob 9160 9158 0 Feb 17 pts/00:01-tcsh<br />

rob 8321 9160 008:29:39 pts/00:04twm<br />

rob 8324 8323 008:29:56 pts/110:01tcsh<br />

rob 13970 1 0 Feb 17 ?0:15xbiff<br />

rob 15296 8324 1 18:02:18 pts/110:00grep rob<br />

$ kill 13970<br />

The process number (PID) can be wiped <strong>and</strong> pasted in<strong>to</strong> position after the kill comm<strong>and</strong> <strong>to</strong> avoid typing in<br />

the number.<br />

$ ls<br />

prac1.pasprac2.pas<br />

$ pc pract1.pas<br />

$ ls<br />

prac1.pasprac2.pasa.out<br />

$ lpr -Pfx prac1.pas<br />

$ lpq -Pfx<br />

no entries<br />

$<br />

lprm - This removes all your print jobs from the queue if you decide <strong>to</strong><br />

save a few branches for later. nb: the negative sign / hyphen.<br />

mail Mail is a ver y useful <strong>Unix</strong> facility <strong>to</strong> send <strong>and</strong> receive messages, known as<br />

e-mail, throughout the networ k, or wor ld. At UWE an alternative mail system is<br />

used called simeon.<br />

cd direc<strong>to</strong>ry_path Change direc<strong>to</strong>ry allows you <strong>to</strong> move around the file<br />

system which is organized <strong>to</strong> look like the roots of a tree.<br />

cd / puts you at the ver y <strong>to</strong>p of the hierarchy, use ls <strong>to</strong> see.<br />

cd puts you back home again.<br />

17

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!