Hot Keys


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Hot Keys
# 1  
Old 11-30-2006
Hot Keys

I am a new user, using UNIX in a DOS window. Is there a way to code a "Hot Key" for a string of commands?
Thanks.
# 2  
Old 12-01-2006
Assuming that you are doing a telnet to the unix box from the dos prompt, I suggest that you can use aliases. Aliases are nothing but a shortcut key to the commands for e.g

l='ls -l'
c=clear
bin='cd /usr/bin'

After this being set when you type l it will list the files in the directory. When you type 'c' it will clear the screen. This you can set up in your .profile file. This file you can see it in your home directory. If not available you can create one. Hope this helps
# 3  
Old 12-01-2006
hot key

Thank you for your reply. You are correct in my usage. However, I'm looking for a way to set a hot key that will replace a series of characters that I have to type for each entry. Example: a hot key that would replace "aaaaBbbbbCdddd".
 
Login or Register to Ask a Question

Previous Thread | Next Thread

4 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

What are public keys in ssh and how do we create the public keys??

Hi All, I am having knowledge on some basics of ssh and wanted to know what are the public keys and how can we create and implement it in connecting server. Please provide the information for the above, it would be helpful for me. Thanks, Ravindra (1 Reply)
Discussion started by: ravi3cha
1 Replies

2. What is on Your Mind?

Too Hot Here

Officially, we had high of 96°F with a relative humidity of 52% here in Rockville Md today. But my car's thermometer said the outside temp was 110° when I first got in this afternoon. After driving for 30 minutes it cooled down to 103°. I actually have a nasty burn on my hand just from leaning... (19 Replies)
Discussion started by: Perderabo
19 Replies

3. Shell Programming and Scripting

Hot Keys

I am a new user, using Unix in a DOS window. Can I set up Hot Keys to run a script? Example - A12.1.13.15 aaaaBbbbCccc Thank you, cwtlr (8 Replies)
Discussion started by: cwtlr
8 Replies

4. UNIX for Dummies Questions & Answers

arrow keys / special keys

how to use the arrow keys in shell scripting. is there any special synatax / command for this. i just want to use the arrow keys for navigation. replies appreciated raguram R (3 Replies)
Discussion started by: raguramtgr
3 Replies
Login or Register to Ask a Question