We help IT Professionals succeed at work.
Get Started

finding the latest file

royjayd asked
Last Modified: 2012-07-05
hi guys

when i do
$ls -ltr  i get

-rwxrwxrwx 1 smwldvg steopsx  23429 Jul  3 13:36 EMPLOYEE_MASTER.rer
-rwxrwxrwx 1 smwldvg steopsx     0 Jul  3 08:18 EMPLOYEE_MASTER.rer

how can i write a command which will give me the latest file.
I want to see the file with the latest time 13:36.

any idea how i can do that?

Watch Question
This problem has been solved!
Unlock 3 Answers and 9 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE