Top "Ls" questions

A utility in Unix-like systems such as Linux used for listing files and directories.

How can I generate a list of files with their absolute path in Linux?

I am writing a shell script that takes file paths as input. For this reason, I need to generate recursive …

linux command-line absolute-path ls
Listing only directories using ls in Bash?

This command lists directories in the current path: ls -d */ What exactly does the pattern */ do? And how can we …

bash directory ls
ls command: how can I get a recursive full-path listing, one line per file?

How can I get ls to spit out a flat list of recursive one-per-line paths? For example, I just want …

bash command-line find ls
Count number of files within a directory in Linux?

To count the number of files in a directory, I typically use ls directory | wc -l But is there another …

linux ls
'ls' in CMD on Windows is not recognized

When I tried to use list ls on a Windows command prompt, the system doesn't recognize it. I already added …

windows cmd ls
List files recursively in Linux CLI with path relative to the current directory

This is similar to this question, but I want to include the path relative to the current directory in unix. …

linux unix recursion ls
Unix's 'ls' sort by name

Can you sort an ls listing by name?

unix ls
How to get file creation date/time in Bash/Debian?

I'm using Bash on Debian GNU/Linux 6.0. Is it possible to get the file creation date/time? Not the modification …

linux bash shell debian ls
How can I list (ls) the 5 last modified files in a directory?

I know ls -t will list all files by modified time. But how can I limit these results to only …

linux list terminal limit ls
How do I list all the files in a directory and subdirectories in reverse chronological order?

I want to do something like ls -t but also have the files in subdirectories included. But the problem is …

unix find ls