LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 07-16-2009, 03:56 AM   #1
PaulFXH
Member
 
Registered: Jul 2007
Location: Belo Horizonte, MG, Brazil
Distribution: Ubuntu, Mint, Haiku
Posts: 54

Rep: Reputation: 15
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
 
Old 07-16-2009, 02:06 PM   #2
PaulFXH
Member
 
Registered: Jul 2007
Location: Belo Horizonte, MG, Brazil
Distribution: Ubuntu, Mint, Haiku
Posts: 54

Original Poster
Rep: Reputation: 15
nm figured this out
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do you create a user account from command line??? bossdog22 Ubuntu 3 04-18-2006 01:06 PM
Is there a command line tool to create images? J_Szucs Linux - Software 5 11-11-2004 02:51 AM
How do I create accounts, groups and so on only using the command line? brynjarh Linux - Newbie 2 07-07-2004 01:42 PM
adding shortcuts for command line hamish Linux - Newbie 6 02-05-2004 07:58 PM
Another Newbie Question - Command Line Shortcuts? AtomiCTheGr8 Linux - General 9 08-14-2002 09:02 PM


All times are GMT -5. The time now is 05:07 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration