top see mem usage
top
du -sh to see size of dir
du -sh
du -h --max-depth=1 | sort -hr to see size of dirs/files in folder
du -h --max-depth=1 | sort -hr
tail get end of file, tail -f to open buffer and show end of file updating
tail
tail -f
head get start of file
head
pbcopy < atom.sh
wc -l [filename]
find . -name '*' | xargs cat | wc -l
cat [filename] | xargs wc -l => wc -l [filename]
cat [filename] | xargs wc -l
xargs [utility] [utility args]
reads from the standard input and executes utility
Last updated 6 years ago