![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| ssh keys monitoring | tungaw2004 | UNIX for Dummies Questions & Answers | 0 | 07-25-2007 03:34 AM |
| SSH keys | new2ss | UNIX for Dummies Questions & Answers | 1 | 01-05-2007 09:21 AM |
| Hot Keys | cwtlr | UNIX for Dummies Questions & Answers | 2 | 12-01-2006 01:50 PM |
| SSH Keys Help | sysera | UNIX for Advanced & Expert Users | 1 | 08-10-2004 02:57 AM |
| arrow keys / special keys | raguramtgr | UNIX for Dummies Questions & Answers | 3 | 02-20-2004 02:45 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
What do you mean by using UNIX in a DOS window? Are you connecting to a shell with ssh or something like that?
I'm not sure I understand your example. You want to type in A12.1.13.15 and have it come out as aaaaBbbbCccc? Try Code:
$ alias A12.1.13.15="echo 'Hello there'" $ A12.1.13.15 Hello there $ |
|
||||
|
hot key
Thanks for your reply.
Many of the commands I use are preceeded with the same series of letter/number combinations. For example "P14.1.166.444 AaaaBbbbCccc". I'm looking for a hot key that I can replace that long letter/number preceeder with. cwtlr |
|
||||
|
If you're looking for special key combinations to do that, that's not going to be in the shell, that'd be configured in whatever client program you use to connnect -- your "DOS window", which I'm assuming is actually an SSH window to UNIX. A DOS window would have DOS.
|
|
||||
|
hot key
Thanks for the advise. I guess I don't understand how to use the alias. I'm in the Command Prompt window. I type alias, then a space, then the letter combination that I want to replace my long string with (example - pri=), then the string that I'm replacing, enter. After that, when I type pri it is the same thing as typing the long string that I was using. This doesn't work. Is there a space or other key I'm missing, or did I mis-understand your instruction?
Thanks. cwtlr |
|
||||
|
Hi Dude!!!!!
Before doing that just check which shell r u using. Alias command differs from shell to shell. For Info check the man page. man alias Cheers kishor |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|