Answer : To find big files and directories you have to use 3 commands is 1 line du sort and head du : Estimate file space usage sort : Sort lines of text files or given input data head : Output the first part of files i.e. to display first 10 largest file Full Article…
Viewing 1 to 2 of 2 items
Run a program or script every 5 or X minutes or hours
One of the best things computers do, is to execute repetitive jobs, and with *nix systems that is done using cronjob. I usually want my jobs to run every X amount of time, let’s say every 5 minutes, or every 12 hours. Here is how: Edit your cronjob file by running crontab -e command Add the following Full Article…