Ls command

From Notes_Wiki

Home > Shell scripting > ls command

Get full time along with year information in ls -l output

Normally 'ls -l' output only prints date (day) and month and not year information of file last modification, access or change time. If the file is modified today itself it prints hour:minute information. To list year, seconds, Microseconds also use:

ls -l --full-time

Refer:



Home > Shell scripting > ls command