01-17-2014
No. If I give history it displays all the linux commands entered from day 1
But specifically I want to list linux commands entered on a particular day.
Is this possible?
Thanks in advance
Last edited by Scott; 01-17-2014 at 09:25 AM..
Reason: Removed your update, since it relates to my post, which I have deleted
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I can use history command in unix to view my last 50 commands. But how can I run the previous commands easily? Can history command help?
Firebird (2 Replies)
Discussion started by: firebirdonfire
2 Replies
2. Shell Programming and Scripting
Hi,
Can we display the Date/time stamp in history command
Ex:
$history
output
-----------
vi pr.sh
ksh -x pr.sh
ksh -n pr.sh
nhoup ksh pr.sh &
nohup ksh pr.sh &
i want the output like this
Tue Mar 14 17:18:57 GMT 2006 vi pr.sh HOSTNAME
is it possible sir ???? (3 Replies)
Discussion started by: vastare
3 Replies
3. Solaris
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
4. Shell Programming and Scripting
Hi All,
Can i get the history command with date, so that i can know which command run at what time???
need it on urjent basis
Thanks (6 Replies)
Discussion started by: aish11
6 Replies
5. Solaris
How to find out history of specific command run by all users in solaris server ? (1 Reply)
Discussion started by: piyus
1 Replies
6. Shell Programming and Scripting
hi
i want to find a command in history for specific date .
is it possible that i can view ?? (1 Reply)
Discussion started by: scriptor
1 Replies
7. UNIX for Dummies Questions & Answers
Hello All,
I was wondering if anyone knew of a way to find out what commands were run on a specific date.
I'm looking to see if I can find certain commands that were run on 3/4, today is 3/10...?
Any thoughts or ideas would be much appreciated!
Thanks in Advance,
Matt
----------... (3 Replies)
Discussion started by: mrm5102
3 Replies
8. UNIX for Advanced & Expert Users
hi, i have an AIX6.1 machine and i modified a user's profile so that it creates history file for each ip address that connects with this user. the reason i did this is because more than 1 person connects with the same user so i want to keep track of command run by all of them. therefore, in the... (5 Replies)
Discussion started by: omonoiatis9
5 Replies
9. Shell Programming and Scripting
i try to set linux date & time in specific format but it keep giving me error
Example :
date "+%d-%m-%C%y %H:%M:%S" -d "19-01-2017 00:05:01"
or
date +"%d-%m-%C%y %H:%M:%S" -d "19-01-2017 00:05:01"
keep giving me this error :
date: invalid date ‘19-01-2017 00:05:01'
Please use CODE tags... (7 Replies)
Discussion started by: umen
7 Replies
10. UNIX for Beginners Questions & Answers
hi unix expert
how can i see the history of command that i entered in past?
history (1 Reply)
Discussion started by: abdossamad2003
1 Replies
LEARN ABOUT DEBIAN
snscan
snscan,v0.3.8(8) System Manager's Manual snscan,v0.3.8(8)
NAME
snscan - display information on articles in the spool
sncat - display articles in the spool
sncancel - cancel articles in the spool
SYNOPSIS
snscan [options] articlespec...
sncat [options] articlespec...
sncancel [options] articlespec...
options: [-n] [-s since] [-o outputfile]
DESCRIPTION
snscan displays information on all articles specified by articlespec, in the form
newsgroup serial id
on a line, one line per article matched. This output is suitable for feeding to snprimedb.
sncat displays the articles specified by articlespec.
sncancel
marks articles specified by articlespec as canceled, so they become unavailable to sn programs.
ARGUMENTS
articlespec defines a broad pattern for articles. It takes two mutually exclusive forms.
Specify by newsgroup and serial number
Here articlespec is
newsgroup[:range[,range]...]
where each range is
serial[-[toserial]]
(where toserial is greater than serial). If toserial is omitted, then all articles after serial are matched. If both serial and
toserial are empty, then only the first and last articles are matched.
Specify by articles message ID
Here articlespec is -i id...
where each id is a message ID, angle brackets optional.
OPTIONS
-n This option weeds out articles that are aliases. If an article is crossposted, there will be an original copy, the others will be
aliases to it. This option prevents information being displayed if it is not from the original copy.
-ssince
This option weeds out articles that were obtained before since. since is in the format year/month/day[:hour:minute] where each is a
number. year may be 2 or 4 digits, and / and : can be any non-digit character.
-ooutputfile
Write output to outputfile instead of descriptor 1. Sometimes you just don't feel like using the shell.
EXAMPLES
sncancel linux.lemmings:12
Cancel article 12 from linux.lemmings.
snscan linux.lemmings:4,12-
Display information on article 4, and also articles 12 to the most recent article, from linux.lemmings.
sncat -n -s 1998/4/1 linux.lemmings
Display all articles that are not aliases, and which were entered after April 1 1998, from linux.lemmings.
snscan -i '123@myhost'
Display information on the article whose ID is <123@myhost>, in whichever newsgroup it is found.
FILES
Each articlespec or id on the command line refers to articles in the news spool located in /var/spool/sn.
ENVIRONMENT VARIABLES
SNROOT If this is set and is not empty, the value is used in place of /var/spool/sn, the default news spool directory.
EXIT CODES
snscan exits 0 on success, 1 on usage error, 2 on system error, and 3 on other errors. It is not an error to specify an article that does
not exist, or which does not meet the since criterion.
SEE ALSO
snprimedb(8)
N.B. Harold Tay snscan,v0.3.8(8)