Profile
Achievement
webonomic's Recent Bash Snippets
- All /
« Prev 1 Next »
This command will email the contents of emailbody.txt to [email protected] with the subject My subject line.
0
779
posted 14 years ago by webonomic
This creates an array of various linux shell names, loops through the array and ouputs a file called shell_locations.txt showing where the shells are located on the linux system.
0
794
posted 14 years ago by webonomic
About the dd command:
dd if=<source> of=<target> bs=<byte>("USUALLY" some power of 2, not less than 512 bytes(ie, 512, 1024, 2048, 4096, 8192, 16384[/b], but can be ANY reasonable number.) skip= seek= conv=<conversion>.
Source is the data being...
0
557
posted 15 years ago by webonomic
Bash shell scripts to control wallpaper backgrounds when switching between Ubuntu workspaces. (Other distributions can use it too).
Take the below 2 scripts to make 2 separate files. Use gconf-editor to attach keybindings to run_command_1 and run...
0
671
posted 15 years ago by webonomic
If you don't have Adobe Acrobat Pro to export a PDF to multiple images, you can use this ImageMagick code.
This command will produce the files 'result-0.jpg' , 'result-1.jpg', etc... for each PDF page.
5
971
posted 15 years ago by webonomic
You can use this code in Bash or Windows CMD / Command prompt (although you'll have the change the comment character from # to :: for the windows prompt)
1
1094
posted 15 years ago by webonomic