16.05.2015 Views

Working with the Unix OS

Working with the Unix OS

Working with the Unix OS

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.

<strong>Unix</strong> Administration<br />

fi<br />

done<br />

echo $status<br />

Compression<br />

tar cf dirname.tar dirname; compress dirname.tar<br />

(tar cf- dirname ) | compress > dirname.tar.Z<br />

tar xvi dirname.tar uncompress dirname.tar<br />

cat dirname.tar.Z | uncompress | tar xvfzcat<br />

dirname.tar.Z | tar tf -<br />

Networks<br />

NFS or RFS Network File System or o<strong>the</strong>r TCP/IP Services<br />

TCP Transmission Control Protocol Transport - data packaging<br />

IP Internet Protocol Network Layer - routing<br />

E<strong>the</strong>rnet Link Layer - E<strong>the</strong>rnet Address<br />

Physical Hardware<br />

Distributed Filesystems<br />

NFS and RFS provide facilities for distributed filesystems. This means that users can have a host on <strong>the</strong>ir desk but<br />

still access shared disks<br />

Backups and software updates can be more reliably administered in one place.<br />

Super User permissions do NOT work across remote mounted filesystems - prevents broke security propagating<br />

over <strong>the</strong> network.<br />

Electronic Mail (E-mail)<br />

Mail is spooled in a queue area and <strong>the</strong>n if necessary sent to o<strong>the</strong>r hosts. Communications <strong>with</strong> <strong>the</strong>se hosts may be<br />

ei<strong>the</strong>r immediate (for close neighbors) or until some regular time specified in /etc/crontab.<br />

To: fred@water.fit.qut.edu.au<br />

Subject: I need help ...<br />

<br />

sendmail.cf - is <strong>the</strong> configuration file for BSD<br />

elm & pine - are agents that create and queue requests in /usr/mail or /usr/spool/mail<br />

News - (available via VAX/VMS locally)<br />

- Keep up to date <strong>with</strong> industry as it happens<br />

- Ask your problem to THE experts world wide<br />

- Heaps of free software<br />

- Public domain <strong>Unix</strong> news readers: "tin"<br />

Network Domains<br />

Used throughout <strong>the</strong> Internet:<br />

fred@water.fit.qut.edu.au<br />

Australian domain<br />

Education sub-domain<br />

QUT sub-domain<br />

Faculty sub-domain<br />

Host "water"<br />

User name<br />

Domains & sub-domains are used to prevent naming conflicts <strong>with</strong> o<strong>the</strong>r domains. So we can invent our own host<br />

names <strong>with</strong>out worrying about host names at o<strong>the</strong>r sites.<br />

Things to Remember<br />

Don't be superuser more than necessary. Always re-read what you type when using commands like:<br />

197

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

Saved successfully!

Ooh no, something went wrong!