Академический Документы
Профессиональный Документы
Культура Документы
Heading
df
find
Objective
df command displays
information about total space
and available space on a file
system
This displays the file system
statistics in 1024-byte disk
blocks.
This displays file system
statistics in MB disk blocks
rounded off to nearest 2nd
decimal digit.
This displays file system
statistics in GB disk blocks
rounded off to nearest 2nd
decimal digit.
Finds files with a matching
expression.
This searches the entire file
system and writes the
complete path names of all
files named .profile. The /
(slash) tells the find command
to search the root directory and
all of its subdirectories.
This lists the names of the files
that have only owner-read and
owner-write permission. The .
(dot) tells the find command to
search the current directory
and its subdirectories.
To list all files in the current
directory that have been
changed during the current 24hour period.
To lists the names of the
ordinary files (-type f) that
have more than one link (links +1).
To find all accessible files
whose path name contains find
To search for all files that are
exactly 414 bytes long
Command
Example
df k
df -k /test
df m
df -m /test
df g
df -g /test
find /
find .
find . ctime
find . -ctime 1
print
find . -type f
find . name
find . -size
Wait
date
errpt
fmt
wait [ ProcessID]
wait 123456789
date +"%D"
date +"%B"
date +"%H"
date +"%p"
date +"%r"
errpt
errpt -a
errpt -a
errpt -a -s mmddhhmmyy
errpt -t -F log=0
errpt -i
/var/adm/ras/errlog.alternate
errpt aD
~| fmt
errpt -a -j
E19E094F
fuser
ipcs
jobs
ls
fmt filename
fmt file1
fuser /etc/passwd
fuser -u /etc/filesystems
fuser -k -x -u -c
/dev/hd1 or
fuser -kxuc /home
fuser -d /usr
Ipcs
jobs l
job -p %m
ls a
ls -l chap1 .profile
ls -d -l . manual
manual/chap1
ls -l t
mail,
Mail, or
mailx
netstat
ps
mail ron
mail -c "user2@host2
user3@host3"
user1@host1<letter
mail f
mail -f +dept
This displays a
listing of the msgs
in the dept folder.
netstat -r -f inet
netstat -i -f inet
netstat -s -f inet
netstat v
netstat -a -I interface
netstat D
ps -e f
ps -f -l -ujim,jane,su
ps -t console,tty/1
ps -t ps -o
rlogin
shutdown
su
uname
rsh or
remsh
ruser,pid,ppid=parent,args
ps lm
ps -emo THREAD
rlogin host2
rlogin host2 -l dale
rlogin host2 -e\
Shutdown
shutdown -m +2
Su
su jim
su jim
su root "-c
/usr/sbin/backup -9
-u"
uname a
rsh host2 df
grep
grep "^[a-zA-Z]"
pgm.s
grep v
grep E
grep -E "abc|xyz"
file1
grep \\$ test2
grep i
grep w
grep l
grep r
grep n
vi options filename
ESC
:w
ZZ or :wq
:w filename
:w! filename
:q!
:x,y w filename
:x,y w!
i
a
A
I
o
O
ESC
r
s
S
x
dd
X
y
yw
yy
p