You Are Here: Home » Computers » Pragmatism

scripts on a xTerm

By Debjit on July 26th, 2009 
Advertisement

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.

Advertisement







scripts on a xTerm was originally published on Digitizor.com on January 12, 2009 - 8:26 pm (Indian Standard Time)