Unix Commands - 02
Unix Commands - 02
the pattern
the pattern
directory
grep query *
file
• grip -e query 1 -equery 2
file
file
to match the start of the line
is present
another file
cat bile I.tt file 2. but >
file
cat-n filename
cat-5 filename
tac filename
file
cat-E filename
combine-v.-EI-Tm one
command
cat -A filename
displayed as "l'
cat * tret
du command in Unin
du-a -h -directory?
du-s -directory,
du --time -h-directory,
system
du --max-depth = I /path
head -n 10
exclude certain directories or
files
du -d no <path 7
n → level no.
du options
print lines that match the given
pattern
awk '/pattern/ {print}' file
column
present
present in a file
$0:}' file