Friday , 28 April 2017

Debian

Delete Files Older Than x Days on Linux

The find utility on linux allows you to pass in a bunch of interesting arguments, including one to execute another command on each file. We’ll use this in order to figure out what files are older than a certain number of days, and then use the rm command to delete them. Command Syntax [crayon-590299091a145001896810/] Note that there are spaces between …

Read More »

Linux – How to find size of a directory & free disk space

‘du’ – Finding the size of a directory $ du Typing the above at the prompt gives you a list of directories that exist in the current directory along with their sizes. The last line of the output gives you the total size of the current directory including its subdirectories. The size given includes the sizes of the files and …

Read More »

VIM Cheat Sheet

Smile emoticon Vim cheat sheet for new users, sysadmins, devops      

Read More »

Understanding Debian

The universal operating system  

Read More »