FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 01-20-2008, 11:57 PM
steve
 
Default show last new file added using "ls"

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Wade Smart wrote:
| 01202008 1819 GMT-6
|
| Is there a way when using "ls" to show the time and date of a file?
|
| Wade
|

ls -c -lt

lots of other options at

man ls





-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHk+4L1L48K811Km0RAmmiAJ9SVBPBAErsIskHe4aMhk 7aZHsyGACgy5Do
M2VIwzmYp0q1AZslWpY8OEc=
=7mw/
-----END PGP SIGNATURE-----

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 01-21-2008, 12:00 AM
"Joel C. Salomon"
 
Default show last new file added using "ls"

On Jan 20, 2008 7:25 PM, Wade Smart <wadesmart@gmail.com> wrote:
> Is there a way when using "ls" to show the time and date of a file?

$ man ls
...
-c with -lt: sort by, and show, ctime (time of last modification
of file status information) with -l:show ctime and sort by name
otherwise: sort by ctime
...

So you probably want some combination of -c, -l, -t, &c.

--Joel

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 01-21-2008, 12:11 AM
Bruce Ferrell
 
Default show last new file added using "ls"

Wade Smart wrote:
> 01202008 1819 GMT-6
>
> Is there a way when using "ls" to show the time and date of a file?
>
> Wade
>

ls -lrt

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 01-21-2008, 12:20 AM
Wade Smart
 
Default show last new file added using "ls"

Bruce Ferrell wrote:
>
> Wade Smart wrote:
>> 01202008 1819 GMT-6
>>
>> Is there a way when using "ls" to show the time and date of a file?
>>
>> Wade
>>
>
> ls -lrt
>
01202008 1920 GMT-6

This is exactly what I needed.

Thanks.

Wade

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 01-21-2008, 06:01 AM
"Michael R. Head"
 
Default show last new file added using "ls"

On Sun, 2008-01-20 at 18:25 -0600, Wade Smart wrote:
> 01202008 1819 GMT-6
>
> Is there a way when using "ls" to show the time and date of a file?

ls -latr
(ls "later")

That's the usual punny command for this.

> Wade
>
--
Michael R. Head <burner@suppressingfire.org>
http://picasaweb.google.com/demiri.head.wedding
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 01:50 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org