Some miscellaneous Linux commands for the desktop user.
Find all files larger than 1 megabyte in a directory. find . -maxdepth 1 -type f -size +1M -printf "%f:%s\n" | sort -t":" -k2find . -maxdepth 1 -type f -size +1M -printf "%f:%s\n" | sort -t":" -k2 Search a file for a certain string. grep "hello" my.txtgrep "hello" my.txt Get the hostname from an IP … Read more