Professional Documents
Culture Documents
Unix Commands
Unix Commands
Unix Commands
du-and I
File Size
du -h * pattern *
days
file -mtime + n-exec rm}}
Replace in file
sed's/to replace/replace
with/g' filename
+ IG -print
- d',' -fl
separated file
filename
↳ Is-l
↳ Is-ltr
↳ Is-bit
is-a
< filename?
cat
perform operations
zip files
gzip filenames
unzip files
gunzip-filenames
'N R = = 25'
pattern in a time
sed's/unise/linux 12'
filenames
Sed's/unise/linux/3g'
filenames
filenames
- filename?
sed-/pattern/d 'filename
type in find
type used to specify file type
f: regular file
d: directory
l: symbolic link c:
character devices b:
block devices
current dir
- delete
directory
- mtime -I
find/name filel
- type f -print
directories
rm-r#
literally
file
mohup
for communication
with another
hostname
domain name
• nslookup: performs a
DNS query
• retraceroute: determine
the number of
hops and
response time
required to reach
the network
host
• metstat: provides info
port,
routing tables,
interface
statistics, etc.
• tepdump: provides info
about both
incoming and
outgoing network
traffic
ls-F
displays information
ls-ltr
commands se cg
- b'
Wildcard
It takes place of an
unknown character or set
of characters
characters in filenames
accessible to users
mounted file.