Sponsored Content
Full Discussion: User History and commnad log
Top Forums UNIX for Dummies Questions & Answers User History and commnad log Post 302166033 by HPAVC on Sunday 10th of February 2008 12:37:38 PM
Old 02-10-2008
Quote:
Originally Posted by otheus
The command you want is "last". It uses the information from wtmp, which after 30 days gets moved to /var/adm/wtmpx.1 or something like that.
last only gives logins, but lastcomm gives oh much more. Though I never found it all that wonderful in practice. A simply ln -s /usr/bin/games/rogue ~/bin/pine and you could be productive all day long Smilie
 

8 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

How to delete history for a particular user

Hi All, Whenever I log in to my terminal and execute some cmds and then I type "history", I get the list of all the commands that I have executed. I want to know where is the history been stored (any path location ?) Secondly,if I want to delete the history or some part of the history, can... (9 Replies)
Discussion started by: shubhranshu
9 Replies

2. UNIX for Advanced & Expert Users

How to access all user history file

Team , using fc command we can get details of our history file .. Is it possible to get the same result for different user from root.. Actually I need to collect all the stuff from select users history file for day to day basis. thanks in advance .. (2 Replies)
Discussion started by: rgpai9972
2 Replies

3. UNIX for Dummies Questions & Answers

User History

How do I pipe serveral commans that will list only the user ids, sort the output, and remove any duplice name entries for those that have logged in in the past month? Thanks! (1 Reply)
Discussion started by: CasperQuiet
1 Replies

4. Shell Programming and Scripting

access user history as root

Hi, I need to access a user's command history. However, the dilemma is that he is logged in and so his current history is not yet flushed to .bash_history file which gets flushed when he logs out. Is there a way I can still access his most recent history? thank you, S (4 Replies)
Discussion started by: sardare
4 Replies

5. Solaris

Command History for a user with IP details

Hi We are sharing our envoirnment with our component teams. the plateform is SunOS 5.8 Generic_117350-41 sun4u sparc SUNW,Sun-Fire-V490. All team logs in the domain with same user and perform activities. Now for the system auditing purpose can somebody guide me how can I get the details when... (6 Replies)
Discussion started by: sukhvinder_Tm
6 Replies

6. 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

7. Shell Programming and Scripting

command history of a particular user in a multiuser environment

Is it possible to find out the history of recently typed in commands of a particular user in a multi user system? the history command expects a numeric argument with it. is it possible to find out the history o commands of a particular user say John_smith for example? (2 Replies)
Discussion started by: arindamlive
2 Replies

8. 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
DACS_PRENV(8)						     DACS Web Services Manual						     DACS_PRENV(8)

NAME
dacs_prenv - CGI program that displays its environment SYNOPSIS
dacs_prenv [-html] DESCRIPTION
This program is part of the DACS suite. It is a stand-alone program that neither accepts the usual DACS command line options (dacsoptions) nor accesses any DACS configuration files. This CGI utility simply prints its command line arguments, all environment variables, information about the system on which it is running, and CGI parameters and their values. It can be a useful tool when debugging web services. Tip This program can be a useful tool for debugging web services. Replace a call to your web service with an identical call to dacs_prenv to see what arguments your web service is being passed and (to some extent) other context. OPTIONS
dacs_prenv recognizes these command line flags: -html Selects HTML output (text/html) instead of the default Content-Type of text/plain, by default, using the style sheet dacs_prenv.css[1]. Web Service Arguments When used as a web service, the following parameters are recognized: FORMAT At present, the only recognized value for this argument is HTML. just_dump_stdin If the value of QUERY_STRING is exactly jump_dump_stdin, then the program will simply copy its standard input to the standard output as text/plain. FILES
dacs_prenv.css[1] DIAGNOSTICS
The program exits 0 if everything was fine, 1 if an error occurred. BUGS
It should be possible to request XML output. SEE ALSO
cgiparse(8)[2], env(1)[3], printenv(1)[4], environ(7)[5] AUTHOR
Distributed Systems Software (www.dss.ca[6]) COPYING
Copyright2003-2012 Distributed Systems Software. See the LICENSE[7] file that accompanies the distribution for licensing information. NOTES
1. dacs_prenv.css http://dacs.dss.ca/man//css/dacs_prenv.css 2. cgiparse(8) http://dacs.dss.ca/man/cgiparse.8.html 3. env(1) http://www.freebsd.org/cgi/man.cgi?query=env&apropos=0&sektion=1&manpath=FreeBSD+9.0-RELEASE&format=html 4. printenv(1) http://www.freebsd.org/cgi/man.cgi?query=printenv&apropos=0&sektion=1&manpath=FreeBSD+9.0-RELEASE&format=html 5. environ(7) http://www.freebsd.org/cgi/man.cgi?query=environ&apropos=0&sektion=7&manpath=FreeBSD+9.0-RELEASE&format=html 6. www.dss.ca http://www.dss.ca 7. LICENSE http://dacs.dss.ca/man/../misc/LICENSE DACS 1.4.27b 10/22/2012 DACS_PRENV(8)
All times are GMT -4. The time now is 04:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy