LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > AIX
User Name
Password
AIX This forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.

Notices

Reply
 
Search this Thread
Old 12-28-2004, 01:21 AM   #1
subu_s
Member
 
Registered: Jun 2004
Posts: 36

Rep: Reputation: 15
history not working in bash


Hi,
I have installed bash 3 in my IBM AIX 5.1 m/c. Howver 'history' is not working and I do not get anything when I type history.

I have settings like
set -o history
and
set -H

Help pls.
 
Old 12-28-2004, 05:51 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967
not related to programming. moved to aix forum
 
Old 12-29-2004, 01:49 PM   #3
zorba4
Member
 
Registered: Feb 2004
Location: Paris
Posts: 398

Rep: Reputation: 31
"history" is a csh feature.
bash people usually call back the few last command lines.
To obtain the last command line used in bash, simply use the "up arrow".
 
  


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
Bash history file jinksys Linux - Software 2 07-30-2005 04:58 PM
NOT escaping bash history ivanatora Linux - General 3 06-07-2005 02:17 PM
bash history slowly Linux - General 2 11-12-2004 12:35 PM
F8 for command history in bash titanandrews Linux - General 7 10-15-2004 04:25 PM
Bash History ukndoit Linux - Security 2 10-16-2003 10:02 AM


All times are GMT -5. The time now is 05:18 PM.

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