09-24-2006
How to find time
Help me with this please...
If i am entering command ls -l, here is what it gives:
-rw-r----- 1 user22 psa 2140 Dec 2 2005 summary.gz
anyone knows how can i know the time it was last modified?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I am trying to caluate the time elasped by the job to run.For that i have used the following command:
I have one file which contains the following
more start.txt
991 STARTED Fri Aug 10 14:04:20 2007
Starting Job JOB_NAME. (...)
1036 STARTED Fri Aug 10 14:04:31 2007
... (1 Reply)
Discussion started by: Amey Joshi
1 Replies
2. Solaris
I'm working on a SunOS 5.8 box and I have to search recursively in directories matching a certain pattern for files with a .log extension that have changed within the last n-minutes, and than select the least recently used file and open it for reading, preferrably with tail. Does anyone know how I... (3 Replies)
Discussion started by: rein
3 Replies
3. Shell Programming and Scripting
Hi All,
I want to find out the time before 30 minutes. I am able to do with in hours limit.
date
Fri Aug 21 06:50:00 BST 2009
TZ=CST+1 date
Fri Aug 21 04:50:02 CST 2009
Can any one please help me (6 Replies)
Discussion started by: vikash_k
6 Replies
4. AIX
HI All,
can some one please help me how to fine the difference between two time stamps say
a= Nov 10, 2009 9:21:25 AM
b= Nov 10, 2009 10:21:25 AM
I want to find difference between the a & b
I googled and tried with some options but no luck.
My OS is AIX (1 Reply)
Discussion started by: bandlan9
1 Replies
5. Shell Programming and Scripting
Hello All -
I have a script that grabs data from the net and outputs the following data
46029 46.144 -124.510 2010 07 26 22 50 320 4.0 6.0 2.2 9 6.8 311 1012.1 -0.9 13.3 13.5 13.3 - -
46041 47.353 -124.731 2010 07 26 22 50 250 2.0 3.0 1.6 8 6.4 - 1011.6 - ... (0 Replies)
Discussion started by: drexnefex
0 Replies
6. Linux
Hi,
I need to find the last system shutdown time. I got a command last that is used for this.But the command is not give the year. Below i posted the sample output
last -x |grep shutdown
shutdown system down 2.6.31.5-server- Tue Jan 11 11:45 - 11:46 (00:00)
shutdown system down ... (6 Replies)
Discussion started by: maruthu
6 Replies
7. Shell Programming and Scripting
Hi ,
I am trying to :wall: my head while scripting ..I am really new to this stuff , never did it before :( .
how to find cpu's system high time and user time high in a script??
thanks , help would be appreciated !
:) (9 Replies)
Discussion started by: sushwey
9 Replies
8. Shell Programming and Scripting
I have a file wich contains time formats and i need to get the time difference
TIME1 TIME2
==================================
20120624192555.6Z 20120624204006.5Z
which means first date 2012/6/24 19:25:55,second date 2012/6/24 20:40:06 so when i get the time... (1 Reply)
Discussion started by: wnaguib
1 Replies
9. UNIX for Dummies Questions & Answers
I have a file wich contains time formats and i need to get the time difference
TIME1 TIME2
=============== ===================
20120624192555.6Z 20120624204006.5Z
which means first date 2012/6/24 19:25:55,second date 2012/6/24 20:40:06 so when i get the time... (23 Replies)
Discussion started by: wnaguib
23 Replies
10. Programming
Dear all,
I am kindly seeking assistance on the following issue.
I am working with data that is sampled every 0.05 hours (that is 3 minutes intervals) here is a sample data from the file
5.00000 15.5030
5.05000 15.6680
5.10000 16.0100
5.15000 16.3450
5.20000 16.7120
5.25000... (4 Replies)
Discussion started by: malandisa
4 Replies
LEARN ABOUT DEBIAN
nnpost
NNPOST(1) General Commands Manual NNPOST(1)
NAME
nnpost - post news articles (nn)
SYNOPSIS
nnpost [ -dksy string ] [ -f file ] [ -p ] [ group... ]
DESCRIPTION
nnpost is used to post new articles using nn's normal interface, but without entering nn in reading mode.
When started, it reads the init file and then directly executes nn's :post command.
It will prompt for a (comma-separated) list of news groups, the article subject, a list of keywords, a summary, and the distribution of the
article. Each of these prompts can also be supplied via command line options or arguments as described below.
When prompted for the "Newsgroup:", entering a ? as the first key will cause nnpost to list all the known news groups and their purpose (if
this information is available). You can also enter / followed by a word or regular expression which will cause nnpost to produce a (much)
shorter listing only containing the groups whose name and/or purpose description matches the regular expression. When paging through
either list, you can enter q to quit the listing.
If a source file is specified with -f it will be used as the initial article body. If the -p option is also specified, the article is
posted directly without editing.
nnpost can be used to do unattended postings if sufficient arguments are provided on the command line to build the header and the body of
the article. The required arguments are: one or more newsgroups, a subject (-s), a source file (-f), a distribution (-d), and the -p
option. Other fields which are not specified (e.g. keywords) will not be included in the header. The contents of the news-header variable
in the init file will be included in the header.
OPTIONS
-d distribution
Use the specified distribution for the article.
-k "keywords"
Associate the specified keywords with the article.
-s "subject"
Use the specified subject for the new article.
-y "summary"
Include the given summary in the article header.
-f file
Read the article body from the specified file.
-p Post the article specified with -f without editing.
FILES
~/.nn/init The control variables for nnpost.
SEE ALSO
nn(1)
AUTHOR
Kim F. Storm, Texas Instruments A/S, Denmark
E-mail: storm@texas.dk
4th Berkeley Distribution Release 6.6 NNPOST(1)