Open links in new tab
  1. The result of ls * , ls ** and ls - Unix & Linux Stack Exchange

    Dec 30, 2019 · The command ls defaults to ls .: List all entries in the current directory. The command ls * means 'run ls on the expansion of the * shell pattern' The * pattern is processed by the shell, and …

  2. What does the "ls -1" command do? - Unix & Linux Stack Exchange

    Jul 19, 2018 · In my current directory, I execute the command: ls -1 and it gives a list of the current directory contents. In the same directory, I repeat the command: ls and it gives me the same result, …

  3. Listing with `ls` and regular expression - Unix & Linux Stack Exchange

    How can I list files with a filename ending with last character and with .txt extension ? I have tried ls *+([[:digit:]]).txt but this is true for abc12.txt and abc2.txt. But I need to get only a...

  4. What do the fields in ls -al output mean? - Unix & Linux Stack Exchange

    The ls -al command shows the following output; -rwxrw-r-- 10 root root 2048 Jan 13 07:11 afile.exe What are all the fields in the preceding display?

  5. What is the difference between `ls` and `l`? [duplicate]

    I accidentally typed l instead of ls today and found that the command still printed a list of the files in my current directory. Trying l --help brings up the help file for ls suggesting that l is ...

  6. Linux ls to show only file name, date, and size

    Dec 16, 2023 · How can I use ls on Linux to get a listing of files with only their name, date, and size? I don't need to see the other info such as owner or permissions Is this possible?

  7. How does the 'ls' command work in Linux/Unix? - Stack Overflow

    Oct 15, 2008 · The question stated "ls forks & exec to the linux/unix shell" to which the answer correctly replied "ls doesn't fork. The shell forks and execs" and went on to say that ls is one of the commands …

  8. Listing only directories using ls in Bash? - Stack Overflow

    Actual ls solution, including symlinks to directories Many answers here don't actually use ls (or only use it in the trivial sense of ls -d, while using wildcards for the actual subdirectory matching.

  9. How to get only files created after a date with ls?

    With the ls command, is it possible to show only the files created after a specific date, hour...? I'm asking it because I have a directory with thousand of files. I want so see all files that were

  10. Powershell's equivalent to Linux/Unix 'ls -al' - Stack Overflow

    Apr 30, 2025 · Is there a PowerShell equivalent to the ls -al command in Linux/Unix? I tried to find something, but it said there wasn't an equivalent command in PowerShell.