cancel
Showing results for 
Search instead for 
Did you mean: 

ls shows year in ftp

j773303
Super Advisor

ls shows year in ftp

Hello expert,
I've a question about ls shows year. I know
below way can let ls -ld shows the year which files in half of year. But is it possible let "ls" shows year in FTP? Thanks for the advise.

=========================================
$ dumpmsg /usr/lib/nls/msg/C/ls.cat > ls.src
$ vi ls.src
change:
11 %b %2d %Y
12 %b %2d %H:%M
to
11 %Y %b %2d %H:%M
12 %Y %b %2d %H:%M
================================================
Hero
1 REPLY
Dennis Handly
Acclaimed Contributor

Re: ls shows year in ftp

I would assume it would work. If you have the chroot type of ftp, you would have to make sure you copy your changed ls.cat there.