scripts on a xTerm

Advertisements

Executing commands on the terminal that too same, long ones, one after another  may get a bit boring at times. I often have to deal with long commands such as mounting ISO images that are located somewhere on my computer and also executing commands with various options.

So typing them again and again or even searching for them through the arrow keys sometimes eally piss me off. So what I have simply done is created a few scripts on the BASH shell itself to ease my job. Creating scripts are very easy provided you have some knowledge of the scripting language BASH or whatever you might be using. A script is basically a text file containing the set of commands those have to be executed one by one, and the text file is then set to +x (execute) mode using chmod command. Grab some BASH manual for BASH commands.



January 12th, 2009 Written by The Digitizor    

Free subscription: Subscribe RSS feed or get daily tips in your email
* Click confirmation link sent in email * Don't see the email? check spam folder

  Facebook 


Liked it? Share...   Digg It!   Submit to Del.icio.us   Submit to Reddit   Stumble   Submit to Identica   Slashdot It   Send to a friend via email


blog comments powered by Disqus

Trackbacks