Creating a chroot environment – the script.

Here is the script, very simple and effective 🙂 #!/bin/bash – #=============================================================================== # # FILE: mkchroot.sh # # USAGE: ./mkchroot.sh…

Continue Reading →

Search & replace with find & ed

Image via Wikipedia function sr() { declare pattern replacement name usage declare -i pvar=0 rvar=0 tvar=0 usage=\’usage: sr [-t ]…

Continue Reading →