LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Create typing shortcuts in command line (https://www.linuxquestions.org/questions/linux-general-1/create-typing-shortcuts-in-command-line-740467/)

PaulFXH 07-16-2009 03:56 AM

Create typing shortcuts in command line
 
I want to create a shortcut to an expression I use a lot on the command line.
However, as certain parts of this expression need to be changed each time I use it, the "alias" function is not what I want.
So, basically, I would like to type something like
Code:

A=abcdefghijklmnopqrstuvwxyz
Then when I want to use a modified version of the expression A, I could type A in a terminal but it would NOT execute.
Instead the expression is printed and allows me to modify it before I press enter to execute.
Can't seem to find how to do this.
Any clues?
Thanks

PaulFXH 07-16-2009 02:06 PM

nm figured this out


All times are GMT -5. The time now is 06:25 AM.