administration
recover-disk-space
2024/10/05
In Linux systems, disk space management is crucial, especially when storage is running low. One often-overlooked aspect is the space reserved by the filesystem, known as reserved blocks. These blocks …
mv command with progress
2018/03/19
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 …
Scripts to create logins from bash command – for creating multiple accounts
2010/06/09
Heres the script: […] cat «EOF > login.sh for i in `cat logins` ; do login=`echo ”$i”|awk -F”:” '{print $2}’`; …
Kill processes that have been running for more than a week
2010/02/04
<a href="http://blog.amit-agarwal.co.in/category/linux/">Bookmark this category <span style="font-size: x-large;"><a …