added grep -f command to linux notes
This commit is contained in:
parent
571a9279cb
commit
db5c1c7e31
1 changed files with 4 additions and 0 deletions
|
|
@ -61,6 +61,10 @@ umount media/usb-drive
|
|||
(make sure to clear your history afterwards)
|
||||
history -c
|
||||
|
||||
To display the differences between two different text files:
|
||||
|
||||
grep -f file1.txt file2.txt
|
||||
|
||||
To Display top five directories that use the most disk space:
|
||||
du -ahx . | sort -rh | head -5
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue