Sponsored Content
Operating Systems Linux History of executed command in Linux Post 302378475 by ronny_nch on Tuesday 8th of December 2009 02:32:24 AM
Old 12-08-2009
History of executed command in Linux

Hi All,

Is there a way to check command executed by users in Linux for a specific date? I know we can use history, but it doesn't shows yesterday's executed commands.

rgds,
 

10 More Discussions You Might Find Interesting

1. Cybersecurity

Help Required: Command to find IP address and command executed of a user

Hi, I am trying to write a script which would figure out who has run which command and their IP. As i dont have any clue as to which commands would do this job, i request some gurus to help me on this. Thanks Vishwas (2 Replies)
Discussion started by: loggedout
2 Replies

2. Solaris

Can history commands show what time command executed

On Solaris 8 and 10 is there a way history command can show what time a particular command was executed. Pls reply. Thanks (2 Replies)
Discussion started by: Tirmazi
2 Replies

3. Shell Programming and Scripting

Need help! command working ok when executed in command line, but fails when run inside a script!

Hi everyone, when executing this command in unix: echo "WM7 Fatal Alerts:", $(cat query1.txt) > a.csvIt works fine, but running this command in a shell script gives an error saying that there's a syntax error. here is content of my script: tdbsrvr$ vi hc.sh "hc.sh" 22 lines, 509... (4 Replies)
Discussion started by: 4dirk1
4 Replies

4. Shell Programming and Scripting

System Command dies even when command gets executed successfully

Hi I have created a perl script & running it using Linux machine. I want my script to die when system command is unsuccessful but script is dying even when system command gets executed successfully. :wall: I am using the command below :- system($cmd) || die "FAILED $!"; print "Hello"; ... (2 Replies)
Discussion started by: Priyanka Gupta
2 Replies

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

6. UNIX for Dummies Questions & Answers

Clearing history of commands executed

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. Shell Programming and Scripting

Command is executed twice

Hi I try to run a command using bash script. The script should now look like this: #!/bin/bash case "$1" in start) sudo su - cispmgm -c "/usr/local/jdk/bin/java -Dworking.dir=/opt/ibm/cisp -Denvironment.target= -Xms512M -Xmx1024M -classpath... (1 Reply)
Discussion started by: nikolai.straess
1 Replies

8. UNIX for Dummies Questions & Answers

Want to get list of Linux commands used on specific date through HISTORY command

I want to get list of linux commands used on Jan 01 2014 with the help of HISTORY command or some other linux commands,. Kindly help. (3 Replies)
Discussion started by: karthick nath
3 Replies

9. Shell Programming and Scripting

Need to echo command successful if command is executed successfully

Hello, I have written a command n shell script : srvctl relocate service -d t1 -s s1 -i i1 -t t1 -f If the above command executes successfully without error I need to echo "Service relocated successfully and If it errors out I need to trap the errors in a file and also need to make... (1 Reply)
Discussion started by: Vishal_dba
1 Replies

10. UNIX for Dummies Questions & Answers

Set Command to output a log of every command executed in the script

Hi Guys, I like to output every command executed in the script to a file. I have tried set -x which does the same. But it is not giving the logs of the child script which is being called from my script. Is there any parameters in the Set command or someother way where i can see the log... (2 Replies)
Discussion started by: mac4rfree
2 Replies
i8kbuttons(1)							     Utilities							     i8kbuttons(1)

NAME
I8kbuttons - Monitor the status of Fn-buttons on Dell Inspiron laptops. SYNTAX
i8kbuttons [<options>] DESCRIPTION
The i8kbuttons daemon monitors the status of the two volume buttons of the Inspiron 8000 and the corresponding Fn- combinations. When a button is pressed the daemon runs the corresponding command specified in the command-line options. By specifying the proper commnds it is then possible to control the volume of the sound mixer or run any other command you like. It must be noted that although the program has default commands for the various buttons there are no standard mixer command shipped with the many Linux distributions which can change volume incrementally and support the mute/restore function. The default commands must there- fore be overriden with specific commands depending on which mixer software is installed. Example: i8kbuttons -u "aumix -v +10" -d "aumix -v -10" -m "aumix -v 0" -r 100 -v OPTIONS
The program accepts the following command-line options: -v, --verbose Verbose mode, show all commands executed. -u, --up <command> Specifies the command to be executed when the VolumeUp button is pressed. -d, --down <command> Specifies the command to be executed when the VolumeDown button is pressed. -m, --mute <command> Specifies the command to be executed when the VolumeOn/Off button is pressed. -t, --timeout <milliseconds> Specifies the interval in milliseconds at which the daemon checks the button status. Useful values are in the range 50-200. Default is 100. -r, --repeat <milliseconds> Specifies the autorepeat interval in milliseconds. Useful values are in the range 100-1000. Default is 0, i.e. no autorepeat. Autorepeat starts after an initial delay of 250 milliseconds. This program can be used by normal users or started as daemon by an init script. Under Debian GNU/Linux it is possible to start automati- cally the daemon at boot by creating an /etc/default/i8kbuttons configfile and setting the I8KBUTTONS_UP_CMD, I8KBUTTONS_DOWN_CMD and I8KBUTTONS_MUTE_CMD variables with the command which must be executed by the program. Note the the /etc/default/i8kbuttons configfile is not installed by the i8kutils package because the program is usually run by normal users. If you want to use it as daemon you must create the config file yourself. FILES
/proc/i8k /etc/default/i8kbuttons AUTHORS
Massimo Dal Zotto <dz@debian.org> COPYRIGHT
i8kbuttons and all the i8kutils programs, scripts and other files are distributed under the GNU General Public License (GPL). On Debian GNU/Linux systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL'. SEE ALSO
i8kctl(1), i8kmon(1) Massimo Dal Zotto 6 April 2009 i8kbuttons(1)
All times are GMT -4. The time now is 04:25 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy