07-10-2006
Hi,
When i tried "date +%s" on my AIX 5.1 , it displays %s .
Thanks,
Haroon
Last edited by me_haroon; 07-11-2006 at 05:08 AM..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I was wondering if anyone had a script that would display the last time a user logged into a particular machine. I know about the "last" command, but it gives too much info.... I just wanted to know the last time a user used his/her id. ANy help would be greatly appreciated.
Ryan (3 Replies)
Discussion started by: ryaneverett5
3 Replies
2. Solaris
Hi Friends,
Can any one guide me regarding 'Display the date and time' command other than the command 'date'
thanks n regards
SsRrIi (1 Reply)
Discussion started by: SsRrIi
1 Replies
3. Shell Programming and Scripting
Hi all,
may i know how to display time in minutes and seconds(may be milliseconds and even smaller that ) in shell scripts.... (1 Reply)
Discussion started by: santy
1 Replies
4. Shell Programming and Scripting
hi all,
am trying to 'grep' some text from a log file and use the 'cut' command to read from that line i just grep'ed to extract date/time and response times.
code sniplet i am using is :
grep -i 'text to grep' Out.log |
while read LINE;
do
... (11 Replies)
Discussion started by: cesarNZ
11 Replies
5. UNIX for Dummies Questions & Answers
I found via Google a way to show the date and time stamp once I log in. However, whenever I cd to another directory it doesn't display the correct path.
Here are the relevant parts from my .kshrc :
unset _h _m _s
eval $(date "+_h=%H ;_m=%M ;_s=%S")
((SECONDS =... (3 Replies)
Discussion started by: Mike F.
3 Replies
6. Shell Programming and Scripting
I'm Using this script to find the time of a file. I'm very much new to PERL
and found this script posted by some one on this forum.
It runs perfectly fine, just that it gives me following errors with the
accurate output as well. I jus want the output to be stored in another file
so that i can... (0 Replies)
Discussion started by: bankimmehta
0 Replies
7. Shell Programming and Scripting
Hi,
I need help to display the yesterday date in format mentioned below:
2012-06-26-PMI tried this but it displays current date: `date +%Y-%m-%d-%p` (9 Replies)
Discussion started by: aroragaurav.84
9 Replies
8. UNIX for Dummies Questions & Answers
In gdb is there any way we can display date/time in first column while debugging or is there any command which will print date/time?
I am asking this just to know when exactly a breakpoint got hit. (6 Replies)
Discussion started by: rupeshkp728
6 Replies
9. UNIX for Dummies Questions & Answers
Below is the sample logfile:
Userids Date Time
acb Checkout time: 2013-11-20 17:00
axy Checkout time: 2013-11-22 12:00
der Checkout time: 2013-11-17 17:00
xyz Checkout time: 2013-11-19 16:00
ddd Checkout time: 2013-11-21 16:00
aaa Checkout... (9 Replies)
Discussion started by: asjaiswal
9 Replies
10. Shell Programming and Scripting
Hi to everybody
again i Need your help, i wasting hours but can't find a solutuin for my Problem. I am not an expert with AIX script programming.
I have a csh script and i need the time in seconds but since i have an old AIX the Option -%s doesnot exist with the date command. I seach in Google... (13 Replies)
Discussion started by: Nadielosabra
13 Replies