Solved

FREEBSD - UNIX - CLI question

Posted on 2013-01-22
1
485 Views
Last Modified: 2016-02-11
Experts,

I'm logged into a network equipment that runs off FREEBSD. When I go into a directory, I can list a file with command: ls -ls

What's the command to list by date?
0
Comment
Question by:trojan81
1 Comment
 
LVL 77

Accepted Solution

by:
arnold earned 300 total points
ID: 38808644
-t for time.

ls -lt (will order by modified time most recent first)

man ls provides for common options.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Port forwarding 14 118
UNiX Script filesystem space usage Part2 54 79
Windows 7 keeps losing its IP configuration 15 92
Log File Creation with Header and Footer 17 60
Article by: rfc1180
The Maximum Segment size (MSS) is an important consideration when troubleshooting connectivity via the Internet/Intranet. As the packets are routed via the Internet/Intranet, the packets must traverse through multiple routers in the path between two…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now