keyboard shortcut for changing the shorcut
Hi everybody...!
I am using Red Hat Enterprise Linux Server release 5.4 (Tikanga) I eagerly want to know whether there is any keyboard shortcut for changing the case of command while typing command on the command line. For example: I want to modify the the file 'DEMO.txt' but I wrongly typed 'demo.txt' $ vi demo.txt So how can I change demo.txt to DEMO.txt using keyboard on same line without clearing the existing command. I have searched a lot for this but didn't get any solution..:-( Hope some one will have solution for this..! |
Shortcuts will be dependent on terminals. Which terminal you are using ? Are you working on linux directly or connecting through a terminal (like putty/telnet) from windows ?
|
Thanks Raju for the reply..!
I am using putty as well as working on linux terminal directly. |
Code:
set -o vi 2.press escape to change to vi command mode 3.pressing ~ will change case of given |
Quote:
Code:
#alias LS='ls -l' Code:
#vi /root/.bashrc Quote:
Code:
#mv demo.txt DEMO.txt Quote:
Code:
#man vi |
@deep27ak - You might want to read Original post again
|
Quote:
changing the case in what sense?? Code:
using CAPS LOCK? |
Well thanks Asimba & Deep27ak for the reply...
The issue is still not resolved....! Using vi, mv we can change the case but the question was to use keyboard shortcut while typing the command & changing the case of typed word on that same line & of course without using 'caps lock'. Is there any shortcut you guise know for this? e.g: if I press shift + ~ character it will change the case of the word in vi editor mode for that you have to be in the vi editor, and I want same functionality for changing the case of the words on command line itself..? And please accept my regrets if I was unable to put my question in right manner...! |
Quote:
I will repost that - you need to follow instructions thats all Type following command at prompt Code:
set -o vi 1.type command / navigate to required command 2.press "escape" to change to vi command mode 3.pressing ~ will change case of given You need not run vi editor at all. |
solved
Great...! you done it..!
Your solution works, it solved my problem...! THaaaaaaaaaaaaaaaaanKKKKKKKKKsssssSSSSSSSS....! |
I am glad I could help you!
|
Quote:
|
thanks for update
Hello raju.mopidevi
Thanks for updating me.. (threads tools ) I was unaware of this..! |
All times are GMT -5. The time now is 11:47 AM. |