PDA

View Full Version : Lazy shell scripts:



mouseboyx
November 6th, 2007, 12:34 AM
This is extreme lazyness, instead of having to type out sudo apt-get install you just type whatever you save the shell script as:


sudo apt-get install $1Ownit: own everything you want to with one command: ownit

chmod -R a=rwx $1iso: Burning iso images the easy way

cdrecord -eject -v -V dev=X,X,X $1 Just type iso then drag and drop the image where X,X,X is your device id:
cdrecord -checkdriveMAKE SURE YOU DO NOT USE YOUR HARD DRIVE AS THE DEVICE!

What are some lazy shell scripts you have made?

yatt
November 6th, 2007, 12:39 AM
I use bash aliases (http://en.wikipedia.org/wiki/Alias_%28Unix_shell%29) to map apt-get install to apt, apt-get remove to aptr, apt-get update to aptu, and apt-get upgrade to aptup.

Billy_McBong
November 6th, 2007, 01:40 AM
i got a bunch of them
and i still need to make more of them