01-20-2014
You can change a file's last access time stamp and the file's last modification time stamp using the touch utility. But any attempt to change a file's status change time stamp will reset it to the current time; not some arbitrary time stamp.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I need to capture a file's creation/modification date and time and convert this to a different format, whilst I can easily get the existing format from a ls -l | awk ' { print $......}' or a cut command I do not know how to convert it to a desired format?
I should add that at present the ls -l... (1 Reply)
Discussion started by: barney_clough
1 Replies
2. UNIX for Dummies Questions & Answers
Dear Expert,
Is there a command to do that in Unix?
In such a way that we don't need to actually "write" or
modified the content.
-- monkfan (4 Replies)
Discussion started by: monkfan
4 Replies
3. Shell Programming and Scripting
Hi All,
I need to get file creation date.
I have to access one file who's name is like...
abc.log092308
and the date changes as per current date. And i am accessing this file next day. meance in above case i will access above file on 09-24-2008
Also one problem is that this file... (2 Replies)
Discussion started by: Jeevan Salunke
2 Replies
4. Shell Programming and Scripting
Hi,
I just need to know way of getting date of file when it was created.
eg i have a file abc created on 23 aug. Now i need to know date of file i.e. 23 aug. How can i get that data.
Thanks
Sarbjit (7 Replies)
Discussion started by: sarbjit
7 Replies
5. Solaris
Hi,
I am using Solaris 10. How could I find when a solaris user was created?
thanks and regards (4 Replies)
Discussion started by: fahdmirza
4 Replies
6. Shell Programming and Scripting
Hi,
Can anyone tell me a process to find the creation date of a file in a directory.
If suppose I have a file in a directory created in 2009
-rw-r--r-- 1 xyz guest 2480 Jul 16 2009 sample.txt
The command should return the the file creation date as 16/07/2009
thanks, (2 Replies)
Discussion started by: swathich
2 Replies
7. OS X (Apple)
Is it possible to find all files based on the date of creation? And if so, how? I've been looking at the find command but it seems that only modification times are used as an option. (1 Reply)
Discussion started by: Straitsfan
1 Replies
8. UNIX for Advanced & Expert Users
Hi ,
I have a requirement to append file creation date to each row in a file for all the files in a directory.
Please help
Thanks,
Pavan (2 Replies)
Discussion started by: Pavan Ram B S
2 Replies
9. Shell Programming and Scripting
Hello ,
I am looking for a script to print file name and its last updated time.
FILE CREATION-TIME FILE-NAME
24/10/2017 12:34 TDR-IU-8-2017.10.24.07:40:00-2017.10.24.07:45:00
when we run l command it print the directory and the files with details like permission,... (1 Reply)
Discussion started by: sadique.manzar
1 Replies
10. Shell Programming and Scripting
Hi Team,
How to get the file creation date and time in SFTP server
we can able to type ls -ltr command only SFTP server.
Generally we type ls --full-time test.txt we will get the date and time , same way how to do in SFTP server after connected.
Thanks (1 Reply)
Discussion started by: bmk123
1 Replies
LEARN ABOUT CENTOS
pcap_set_tstamp_precision
PCAP_SET_TSTAMP_PRECISION(3PCAP) PCAP_SET_TSTAMP_PRECISION(3PCAP)
NAME
pcap_set_tstamp_precision - set the time stamp precision returned in captures
SYNOPSIS
#include <pcap/pcap.h>
int pcap_set_tstamp_precision(pcap_t *p, int tstamp_precision);
DESCRIPTION
pcap_set_tstamp_precision() sets the precision of the time stamp desired for packets captured on the pcap descriptor to the type specified
by tstamp_precision. It must be called on a pcap descriptor created by pcap_create() that has not yet been activated by pcap_activate().
Two time stamp precisions are supported, microseconds and nanoseconds. One can use options PCAP_TSTAMP_PRECISION_MICRO and PCAP_TSTAMP_PRE-
CISION_NANO to request desired precision. By default, time stamps are in microseconds.
RETURN VALUE
pcap_set_tstamp_type() returns 0 on success if the specified time stamp precision is expected to be supported by the operating system,
PCAP_ERROR_TSTAMP_PRECISION_NOTSUP if operating system does not support requested time stamp precision, PCAP_ERROR_ACTIVATED if called on a
capture handle that has been activated.
SEE ALSO
pcap(3PCAP), pcap_get_tstamp_precision(3PCAP), pcap-tstamp(7)
27 August 2013 PCAP_SET_TSTAMP_PRECISION(3PCAP)