10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
how to list all commands history for a username during a certain time ?
Maany Thanks (2 Replies)
Discussion started by: Sara_84
2 Replies
2. Shell Programming and Scripting
Hi Guys,
I am running RHEL5, I am trying to find out the history of the cammands that were executed on my server.
I have files that are missing I just want to find out what happened to them.
I used history | more but I can't find anything related to my query.
I also checked... (1 Reply)
Discussion started by: Phuti
1 Replies
3. UNIX for Dummies Questions & Answers
i have several boxes running either ubuntu, redhat or solaris.
there are multiple people with root access on these boxes. i really dont like people looking through my command history, is there a way i can prevent this?
what files do i have to edit to prevent anyone from being able to see what... (7 Replies)
Discussion started by: SkySmart
7 Replies
4. UNIX for Dummies Questions & Answers
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
5. Shell Programming and Scripting
Hi,
I would normally clear off the history entries from a terminal by using the following commands:
> ~/.bash_history
history -c
But this will remove the entries of that particular session only. How to prune all the entries of all login sessions for a particular user in a system?
N.B:... (3 Replies)
Discussion started by: royalibrahim
3 Replies
6. UNIX for Dummies Questions & Answers
Hello,
Could you tell me if it is possible to add pseudo terminal name to the bash history?
I need to see from which terminal the command was issues. I found a variable HISTTIMEFORMAT that helps me to identify the time but cannot find similar thing for the pts number.
thanks,
Pavel. (0 Replies)
Discussion started by: pn8830
0 Replies
7. Shell Programming and Scripting
I have a application ID and many users in the team are using this id. I dont want the people to check whati am running with the id from my terminal. is there a way to kill history get back from my console to everybody so thatwhat ever i type in my console cant be seen from other users who are... (5 Replies)
Discussion started by: dsravan
5 Replies
8. Linux
I would like to log all the commands I type (on the terminal) to a file. The command "history" does this only for current terminal only. I typically keep around 10 terminals open.
Thanks,
j
Note: I do not have root access. (2 Replies)
Discussion started by: superuser84
2 Replies
9. Solaris
Dear
What's the command to be executed to retreive all history commands for a specific user? (1 Reply)
Discussion started by: abu_hassan
1 Replies
10. UNIX for Dummies Questions & Answers
What is the correct format for a single command that would combine portions of 2 different lines in the command history? I'm using a C shell. Here's a simplified command history to clarify:
4 rm file1
5 ls -ld file2 file3 file4
6 cat file 5
With the above history, what would be the... (5 Replies)
Discussion started by: Dbyte
5 Replies