04-17-2011
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 the following command but it did not work with me:
#export HISTTIMEFORMAT=`%F %T`
Thanks in Advance
BR
Ahmed Amer
Cairo,Egypt
10 More Discussions You Might Find Interesting
1. 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
2. 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
3. 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
4. UNIX for Dummies Questions & Answers
Hi,
How do I add a history function to my shell? What I mean is if I have used the command: xemacs file.tex, I'd like to be able to type 'x' then use the arrow keys and go through all the commands I've done starting with an 'x'. Thanks! (3 Replies)
Discussion started by: pmasterkim
3 Replies
5. UNIX for Advanced & Expert Users
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
6. UNIX for Dummies Questions & Answers
Hi,
I have cleared the commands by using >$HOME/.sh_history.
But if i issue HISTORY it shows some reference numbers but not the commands executed.
But i want to truncate those line numbers too.
May i know how i can achieve this?
Thanks (1 Reply)
Discussion started by: pandeesh
1 Replies
7. 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
8. 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
9. 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
10. UNIX for Dummies Questions & Answers
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
LEARN ABOUT DEBIAN
ae-sccs-put
ae-sccs-put(1) ae-sccs-put(1)
NAME
ae-sccs-put - put sccs version
SYNOPSIS
ae-sccs-put -ycomment -Ginput-file history-file
DESCRIPTION
The ae-sccs-put command is used to commit changes to an SCCS file. It insulates against a number of SCCS's quirks, and maps to Aegis'
expectations better than using the SCCS commands directory in the history commands in the project aegis.conf configuration file.
The file comments must be specified on the command line.
The source file must be specified on the command line.
It is expected that there is not lock current in the history file. This is consistent with Aegis' use of its history tool.
The history file need to exist yet. It will be created (with the sccs admin command) if it does not.
OPTIONS
The following options are understood:
-Gsource-file
This option must be used to specify the source file to be checked into the history.
-ycomment
This option must be used to specify the comment to be attached to the file history. You probably need to use quotes to insulate
the white space in the comment.
EXIT STATUS
The ae-sccs-put command will exit with a status of 1 on any error. The ae-sccs-put command will only exit with a status of 0 if there are
no errors.
ENVIRONMENT VARIABLES
See aegis(1) for a list of environment variables which may affect this command. See aepconf(5) for the project configuration file's
project_specific field for how to set environment variables for all commands executed by Aegis.
COPYRIGHT
ae-sccs-put version 4.24.3.D001
Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Peter
Miller
The ae-sccs-put program comes with ABSOLUTELY NO WARRANTY; for details use the 'ae-sccs-put -VERSion License' command. This is free soft-
ware and you are welcome to redistribute it under certain conditions; for details use the 'ae-sccs-put -VERSion License' command.
AUTHOR
Peter Miller E-Mail: millerp@canb.auug.org.au
//* WWW: http://www.canb.auug.org.au/~millerp/
Reference Manual Aegis ae-sccs-put(1)