RE: Re[2]: The date of a file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ls -l filename | cut .....

See "man cut" on how to retrieve a certain field.  I think it is -f
option.

-----Original Message-----
From: redhat-list-admin@xxxxxxxxxx [mailto:redhat-list-admin@xxxxxxxxxx]
On Behalf Of Richard Kurth
Sent: Monday, February 16, 2004 3:59 PM
To: Marty Landman
Subject: Re[2]: The date of a file




I know I can get a list of files with the date using ls -l I want to be
able to ask what is the date of a certain file so I can use it in a
script. I know I can do this ls -l filename but it will give me all of
this
-rw-r--r--    1 admin    root        23916 Feb 16 12:01 filename

I just want the date of the file only

Monday, February 16, 2004, 1:30:51 PM, you wrote:

ML> At 04:25 PM 2/16/2004, Richard Kurth wrote:
>>Is there a command line command that will tell me the date of a 
>>particular file

ML> ls -l


ML> Marty Landman   Face 2 Interface Inc 845-679-9387
ML> This Month's New Quiz --- Past Superbowl Winners
ML> Make a Website: http://face2interface.com/Home/Demo.shtml





-- 
Best regards,
 Richard                            mailto:rkurth@xxxxxxxxxxxx


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list




-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux