LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 09-08-2009, 07:20 AM   #1
sumeet inani
Member
 
Registered: Oct 2008
Posts: 908
Blog Entries: 26

Rep: Reputation: 49
ignore case in writing path in terminal


hi I am using ubuntu 8.04.
I read that you can add following option to ~/.inputrc:'set completion-ignore-case On' then there is no need to be careful about capital or small letter in file because it gets corrected automatically.I have successfully done it in openSUSE 10.3.Here difficulty is there is no file '.inputrc' in my home folder.

Last edited by sumeet inani; 09-08-2009 at 11:13 PM.
 
Old 09-08-2009, 05:14 PM   #2
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
Quote:
Originally Posted by sumeet inani View Post
Here difficulty is there is no file '.inputrc' in my folder.
You should be able to create it with your favorite text editor. (Perhaps gedit?) Or if you prefer to create an empty file before you start your editor, you can (in a terminal window):

Code:
touch ~/.inputrc
 
Old 11-10-2009, 09:57 PM   #3
sumeet inani
Member
 
Registered: Oct 2008
Posts: 908

Original Poster
Blog Entries: 26

Rep: Reputation: 49
how to see terminal history withour using command

Like in windows command prompt if you want to see commands you have executed just press F7.
i know that in terminal we can run 'history' then execute command using '!number' but is there a way like a keyboard shortcut to see history & i don't wish to get 'history' command added to my list.
 
Old 11-11-2009, 07:43 AM   #4
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Up arrow steps through your previous commands (just like Windows). Ctrl+R+<search string> searches back through previous commands; when you have found the one you want press Enter or, if you want to edit it, press Esc.
 
Old 11-12-2009, 12:45 AM   #5
sumeet inani
Member
 
Registered: Oct 2008
Posts: 908

Original Poster
Blog Entries: 26

Rep: Reputation: 49
ASKING EVERYONE
I know that but when you press F7 in command prompt you see small window displaying all commands executed so far.
On pressing up arrow you in terminal you see one at a time.
Ctrl+R is helpful if you remember string of previous command but unlike seeing all history together.
Is there anything like F7 of command prompt available in terminal?
Can we associate keyboard shortcut to history & edit .bashrc to ignore when 'history' coomand is run?

Last edited by sumeet inani; 11-16-2009 at 06:14 AM.
 
  


Reply



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
Bash script: Move files, ignore case Fredde87 Linux - Software 3 09-03-2008 03:34 AM
Postfix change return-path and writing own script for master.cf alitrix Linux - Server 7 07-25-2008 12:49 PM
Using terminal on 7.04. Can't get lower case s to screen. sudo is udo. Duane Linux - Newbie 10 07-17-2007 01:59 PM
Sendmail re-writing return path hammer65 Linux - Software 1 02-01-2007 10:59 AM
Any arguement that can be used with 'ls' command to ignore case? davidas Linux - Newbie 5 02-26-2006 04:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 08:04 AM.

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
Open Source Consulting | Domain Registration