bash function

bash function for rpm whatprovides


Sometimes some simple one-liner function can save you a lot of time, like-

mv command with progress


When moving large files/directories, I would like to see the progress. Idea for this is to use rsync with progress and remove source files. But that option does not remove the empty directories left …

Highest disk usage of directory in subdirectories


I find myself doing this lot of times so thought will share this with you all. Basically, once I want to clear out the directory, I first want to find out the sub-directory using the maximum disk …

ldap search function


First you will need the ldap search utility. The client for ldap search comes in openldap-clients, so you need to install that first: sudo yum install openldap-clients Now, that you have installed it, …

This website uses cookies to ensure you get the best experience on our website. Learn more Got it