csh History


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers csh History
# 8  
Old 01-25-2008
Thanks alot drl,
seems it worked, what do you think was wrong, here is the output,
Code:
cl1# ps | grep $$
  7504 pts/1       0:00 csh
cl1# set history=5
cl1# echo one
one
cl1# history
     2  set history=5
     3  echo one
     4  history
cl1#

I will add set history to my .cshrc file.

Many thanks again

Aladdin
# 9  
Old 01-25-2008
Hi, Aladdin.

Glad to hear that it seems to be working.

As to what was wrong -- I don't know. Perhaps the correct commands were not present at the right time and place.

The important thing is that you see that there is cause and effect for the appropriate commands to set up the history mechanism for the login name (account, user, etc.) that you are currently using.

Best wishes ... cheers, drl
 
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. What is on Your Mind?

The Great History of UNIX (1969-1999) | 30 Years of UNIX History | YouTube Video

I am pleased to announce this new video in 1080 HD for UNIX lovers honoring thirty years of UNIX history spanning from 1969 to 1999 presented in 150 seconds (two and a half minutes) in 1080 HD, celebrating the 50th anniversary of UNIX. The Great History of UNIX (1969-1999) | 30 Years of UNIX... (8 Replies)
Discussion started by: Neo
8 Replies

2. UNIX for Dummies Questions & Answers

History to Another file [local user history , but root access]

Hi all, My need is : 1. To know who , when , which command used. 2. Local user should not delete this information. I mean , with an example , i can say i have a user user1 i need to give all the following permissions to user1, : a. A specific directory other than his home... (1 Reply)
Discussion started by: sriky86
1 Replies

3. UNIX for Dummies Questions & Answers

The history command: See other users command history

Can anyone tell this: If two users are logged into the same server from different locations. Is there a way to see the history command of the other user? I tried the history command, but it is showing me only the commands I used. Thanks in advance for your help. Iamnew2solaris (1 Reply)
Discussion started by: iamnew2solaris
1 Replies

4. UNIX for Advanced & Expert Users

History to Another file [local user history , but root access]

Hi all, My need is : 1. To know who , when , which command used. 2. Local user should not delete this information. I mean , with an example , i can say i have a user user1 i need to give all the following permissions to user1, : a. A specific directory other than his home... (3 Replies)
Discussion started by: linuxadmin
3 Replies

5. UNIX for Dummies Questions & Answers

How to review the history and the commands that has been done in this history?

Hello every body, Kindly inform me How Do i find out the time I executed a command previously on UNIX Solaris?? To be more specific and more clear about what i want to know is that I want a command the enables me to know the history and which command i run at this history/time. FYI I used... (5 Replies)
Discussion started by: ahmedamer12
5 Replies

6. Shell Programming and Scripting

csh failing to call an 2 embedded csh script

I have an extraordinary problem with a csh script.....(feel free to berate the use of this but I'm modifying an existing bunch of them) Anyway, I have a master csh script which in turn calls a second csh script. This second csh script is below. Within this second script are two compiled C++... (1 Reply)
Discussion started by: pollsizer
1 Replies

7. Shell Programming and Scripting

History ??

Hi, How can i see first 3 commands that are there in history {fc -l} ? Thanks (1 Reply)
Discussion started by: varungupta
1 Replies

8. UNIX for Dummies Questions & Answers

history

Hi , 'history' command shows the previous commands used. Is there any command to get the timings at which those commands were entered. I am using Ksh. Thanks. (2 Replies)
Discussion started by: tselvanin
2 Replies
Login or Register to Ask a Question