Linux Tips and Tricks continued…
Find which operating system you are running
Finding the OS information is easy in Linux, I have seen most people jump to /etc/issue file to find it. This is absolutely correct however this file can be easily modified and changed by the sysadmin, to give you false information. A sure shot method of finding OS name and details is to fire this command on your terminal.
Distributor ID: Ubuntu
Description: Ubuntu 12.04 LTS
Find all files larger than some value and less than some value
If you want to free up some disk space quickly and find all big files use the command below
find / -type f -size +100M -size -1G