Solved

FREEBSD - UNIX - CLI question

Posted on 2013-01-22
1
489 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

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

Question has a verified solution.

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

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded‚Ķ
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.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

840 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