The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
need clarification about tr -d command ? vparunkumar Shell Programming and Scripting 7 03-18-2008 11:08 AM
Need clarification ravi.sadani19 Shell Programming and Scripting 2 04-13-2007 02:55 AM
sgid suid help --need clarification StrengthThaDon UNIX for Dummies Questions & Answers 5 03-06-2007 05:45 PM
Clarification abt .profile,config,env sarwan High Level Programming 0 03-10-2006 06:16 AM
nawk command clarification Tux_Raju Shell Programming and Scripting 2 07-28-2005 10:28 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-08-2008
Sreejith_VK
Guest
  
 

Posts: n/a
Bits: 0 [Banking]
TimeStamp clarification

I just now read the doc in Understanding Unix Timekeeping

Need clarification that half of the files in any directory is shown in below pattern in which time stamp pattern is highlighted

Quote:
-rwxr-xr-x 1 user1 adm 640 2005-02-02 file1
-rwxr-xr-x 1 user1 adm 772 2005-02-02 file 2
-rwxr-xr-x 1 user1 adm 2439 2005-02-02 file 3
And half of the files are shown in different pattern with time stamp pattern highlighted

Quote:
-rwxr-xr-x 1 user1 adm 4025 10-10 19:44 file4
-rwxr-xr-x 1 user1 adm 862 10-10 19:45 file5
-rw-r--r-- 1 user1 adm 672 10-11 12:00 file6
Can you please highlight the reason?
How is this achieved?

Last edited by Sreejith_VK; 04-08-2008 at 08:06 AM..
  #2 (permalink)  
Old 04-08-2008
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
  
 

Join Date: Feb 2004
Location: NM
Posts: 5,789
The reason is explained in man ls
The -l option show dates for files older than six months or with dates in the future with a date format that the year in it - otherwise no year.
  #3 (permalink)  
Old 04-09-2008
Sreejith_VK
Guest
  
 

Posts: n/a
Bits: 0 [Banking]
Thanks a lot
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 12:10 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0