On Wed Nov 03 1999 at 16:11, Song Jianping wrote:

I like seeing the full timestamp, so I have the following (bash)
aliases:

        alias ls='/bin/ls --color=tty --full-time'
        alias v='/bin/ls -lF --color=tty --full-time'
        alias va='/bin/ls -AlF --color=tty --full-time'
        alias vd='/bin/ls -AlFd --color=tty --full-time'

I use them often (with a customised /etc/DIR_COLORS or ~/.dircolors
file).

> >>     Accidently I notice following outputs of "ls -l":
> >> [root@Ultra /home]# ls -l
> >> total 6
> >> drwxr-xr-x   6 root     root         1024 Oct 14 03:50 ftp
> >> drwxr-xr-x   5 root     root         1024 Oct 14 03:50 httpd
> >> drwx------   5 ly       ly           1024 Oct 16 01:22 ly
> >> drwx------   4 lyx      lyx          1024 Oct 14 22:37 lyx
> >> drwxr-xr-x   2 root     nobody       1024 Apr 16  1999 samba
> >>                                                   ^^^^^
> >> drwx------   6 sjp      sjp          1024 Nov  2 16:58 sjp
> >>
> >> why is the time pattern of "samba"(Apr 16  1999) different from the
> >> time pattern of other directories?
> 
> TN> Because the file is more than 6 months old.
> 
> TN> See:    man ls
> i find the following by "info ls":
> "For files with a time more than six months old or more than one hour
>  into the future, the timestamp contains the year instead of the time
>  of day."
> 
> Thanks.

Cheers
Tony
 -=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-
  Tony Nugent <[EMAIL PROTECTED]>          Systems Administrator
  GrowZone OnLine       (a project of) GrowZone Development Network
  POBox 475 Toowoomba Oueensland Australia 4350    Ph: 07 4637 8322
 -=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-

Reply via email to