About 1,400,000 results
Open links in new tab
  1. 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 …

  2. 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 …

  3. How does this work ls *[^0-9]* - Unix & Linux Stack Exchange

    I am learning the wildcards. I see that ls *[0-9]* would list all the files/directories with numbers in its names so shouldn't ls *[^0-9]* list all the files/directories without numbers in the mi...

  4. 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 ...

  5. ubuntu - Linux List files dfference - "ls" vs "ls /" - Stack Overflow

    Aug 25, 2018 · ls is standing for listing directories and files under a directory. In your situation, ls (without a directory argument) is going to list directories and files under the current directory …

  6. What is the meaning of ls -d? - Unix & Linux Stack Exchange

    Feb 24, 2015 · Using ls documents with no options would give you a listing of the contents of documents as you correctly state above. Using ls -d documents will merely print the name - …

  7. Listing with `ls` and regular expression - Unix & Linux Stack …

    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...

  8. what does terminal command: ls -l show? - Stack Overflow

    Jul 11, 2013 · I know that it outputs the "long" version but what do each of the sections mean? On my mac, when I type in ls -l /Users I get total 0 drwxr-xr-x+ 33 MaxHarris staff 1122 Jul 1 14:06 …

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

    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?

  10. bash - How to `ls` only one level deep? - Stack Overflow

    I have lots subdirectories containing data, and I want a short list of which jobs (subdirectories) I have. I'm not happy with the following command. $ ls H2* H2a: energy.dat overlap.dat …