Tag: Linux
Database Data to Download Variables
Gets data from a MySql database, splits the data into separate columns, then uses one column in a URL to download something – and uses other column to name the file thats downloaded
Search Wikipedia from Command Line
Get the intro paragraph of any wikipedia article using this trick… dig +short txt “<keyword>”.wp.dg.cx
Encrypt/Decrypt files using GPG
Encrypt/Decript files in linux #Encypt… gpg -c <Source File> #Decrypt… gpg <Encrypted File>
Send One Line From a Text File as as SMS Every 10 Mins
This command will send a line from a given text file one every 10 mins as an SMS to a given number.
Send Text Once Every 15 Mins
Command to send a text to any phone once every 15 mins.
Watch for Ubuntu 9.10 Launch
This script will run check for ubuntu launch once every 5 mins and let you know if there is an launch.
Command to Find Current Ubuntu Version
Run this command to find the installed version of Ubuntu… cat /etc/lsb-release
Add Line Numbers
Use this command to add line numbers to a text file… sed = filename.txt | sed ‘N;s/\n/\t/’ > filename_number.txt
Install Package List
Install a list of packages from a text file. cat packages.txt | xargs apt-get install
Recent Comments