Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am working on a red hat server
I want to list the files in a way where the year when each was file created would appear in the Date
how is that possible ?

share|improve this question
no i dont think i try "ls -lT" its not found – bob Oct 10 '12 at 7:12

You can use man ls and here you can find --time-style parameter. Or you can use:

ls --full-time.

share|improve this answer
Thanks this is what i want – bob Oct 10 '12 at 7:14
@bob: Completely agree with Turco. If you don't do that, nobody is going to bother about answering your question . – The Dark Knight Oct 10 '12 at 9:33

Since you asked for the year, ls -lac is an easy one to remember if, like me, you use ls -la all the time. The c gives you ctime which will display a year if it's not the current year or the hour and minute if it is.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.