| UNIX - Comandi base: OUTPUT Tipico |
|
|
|
|
|
|
|
| Sei qui: Altro > UNIX > Comandi base > Comandi base: OUTPUT tipico |
Output tipico
La tabella seguente vuole
fornire qualche esempio dell'output (cioe' del risultato) tipico
dei principali comandi UNIX. Naturalmente l'output dipendera' dalle condizioni
del sistema e dal dialetto UNIX utilizzato, ma sara' comunque simile
a quello riportato sotto.
|
|
|
| ls
ls -l |
max@localhost:~/scuola/as1999.2000
> ls
CertAuth Quinte Terza hoepli.lyx test.0001.lyx test.005.lyx hoepli.tex test.002.lyx test.005.tex pinguin.gif test.002.tex unix-comandi.html max@localhost:~/scuola/as1999.2000 > ls -l
|
| pwd | max@localhost:~/scuola/as1999.2000
> pwd
/home/max/scuola/as1999.2000 |
| df | max@localhost:~/scuola/as1999.2000
> df
Filesystem 1024-blocks Used Available Capacity Mounted on /dev/hda3 264366 37722 212989 15% / /dev/hda7 1321237 974273 278690 78% /var /dev/hda8 264368 1073 249642 0% /tmp /dev/hdb2 5560730 3377562 1895203 64% /usr /dev/hda6 1988924 641882 1244228 34% /home /dev/hda1 7496 700 6396 10% /boot /dev/hda5 3973832 1008186 2760016 27% /usr/lib |
| ps
ps ef |
max@localhost:~/scuola/as1999.2000
> ps
PID TTY STAT TIME COMMAND 239 1 S 0:00 -bash 251 1 S 0:00 -bash 252 1 S 0:00 sh /usr/bin/startx 260 1 S 0:00 xinit /home/max/.xinitrc -- 264 1 S 0:04 kwm 988 p4 R 0:00 ps max@localhost:~/jobs/scuola/as1999.2000 > ps ef
|
| kill <PID>
kill -15 <PID> kill -9 <PID> |
max@localhost:~/scuola/as1999.2000
>kill -15 1014
Terminated max@localhost:~/scuola/as1999.2000 >kill -9 1032
|
| top
top -s |
12:15am up 3:19,
4 users, load average: 0.14, 0.06, 0.01
59 processes: 58 sleeping, 1 running, 0 zombie, 0 stopped CPU states: 0.7% user, 0.5% system, 0.0% nice, 98.9% idle Mem: 127496K av, 125056K used, 2440K free, 69452K shrd, 20424K buff Swap: 522992K av, 264K used, 522728K free 48880K cached PID PPID USER PRI NI
SIZE RSS SHARE STAT LIB %CPU %MEM TIME COMMAND
|
| gimp & | max@localhost:~/scuola/as1999.2000
> gimp &
[1] 1049 max@localhost:~/scuola/as1999.2000 > |
| man ls | LS(1)
LS(1)
NAME
SYNOPSIS
DESCRIPTION
|
Copyright ©1999-2004 Navigare
|
|
|
|
|
|
|