LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-15-2003, 12:10 PM   #1
lansman
Member
 
Registered: Feb 2003
Location: Upstate N Y
Distribution: Red Hat 8.0
Posts: 46

Rep: Reputation: 15
Keyboard mapping problem


When working in the shell on a terminal window, I have no problem using th left or right arrow keys, but when I use the up arrow key the most recent shell command is disaplayed at the prompt and so forth. When I press the down arrow, nothing happens at all. How can I remedy this situation?
 
Old 03-15-2003, 12:45 PM   #2
Q*Bert
Member
 
Registered: Feb 2003
Location: Birmingham, UK
Distribution: Redhat 8.0, Immunix 7.0 a few others
Posts: 222

Rep: Reputation: 30
Have a look at the file ~/.bash_history - it keeps a record of all your commands, so that you can navigate back through them. These are available and are very useful. If you press up, you can navigate through the history. If you press down, well there's no history to navigate through!!

Here's a hint for using the bash more efficiently - lets say the last time you typed

modprobe qcamvc

yesterday some time and it inserted the driver using the modprobe command. If you press

!modp

today, the shell will look back through the ~/.bash_history file to find the most recent incidence of 'modp' and executes that command. Clever, eh?
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Keyboard mapping cdhjrt Linux - Software 5 11-03-2005 05:29 PM
keyboard re-mapping bong.mau Linux - Software 1 10-26-2005 01:01 PM
keyboard mapping minike Slackware - Installation 4 09-01-2004 03:48 PM
X and keyboard mapping krajzega Slackware 1 02-24-2004 08:34 PM
Keyboard mapping problem lansman Linux - Hardware 1 03-15-2003 12:24 PM


All times are GMT -5. The time now is 01:40 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration