About 919,000 results
Open links in new tab
  1. What does "-ls" do when used with "find"? - Ask Ubuntu

    Aug 30, 2019 · For example, try this: ls -dils ./* (Because ls sorts its output, as mentioned below, an even better comparison would be to many separate ls -dils ./ filename commands, one for …

  2. Difference between ls -l , ls -ltr and ll? - Ask Ubuntu

    Jun 25, 2015 · When i am using these commands , i am getting the same output but only order is getting changed for ls -ltr command. Can anyone please tell me what is the difference between …

  3. ls - Ubuntu commands aren't working - Ask Ubuntu

    Aug 7, 2023 · 3 My Ubuntu seems a bit weird. cd and mkdir work fine, but instructions other than ls and rm do not. I'm not sure what the problem is. Isn't there another way to initialize this …

  4. bash - How to exclude certain files in `ls`? - Ask Ubuntu

    I would like to run ls and exclude certain files in the output. When I run the following command, I get all files, each on a separate line: $ ls -1 file1 file2 file3 temp I would like to run this

  5. How to Search for Files Recursively into Subdirectories

    Apr 3, 2015 · I am trying to look for all XML files in a particular directory and all sub-directories (recursively) inside it. ls -R *.xml is only listing files in the current directory. I am quite sure, the …

  6. command line - How do I display filetype with ls? - Ask Ubuntu

    Apr 27, 2018 · I am ignorant as to whether ls is capable of displaying a filetype column. Doing a quick online search and searching the man did not reveal such a capability. Is it capable of …

  7. Folder not showing up showing up with `ls` - Ask Ubuntu

    Oct 2, 2023 · I have a folder I can cd into by simply using cd /path. However, when I use ls, the folder doesn't show up, and it's not hidden, meaning that ls -a doesn't make it appear, either. …

  8. Using LS To Show The Date Modified And A Specific Number Of …

    Jun 6, 2018 · Parsing ls is a discouraged activity generally though. ls -lrt| tail -4| tr -s ' '| cut -d ' ' -f6-| tac The reverse ordering of ls results, with the -r option, is used to avoid the 'Total' line …

  9. Get a list of all files in folder and sub-folder in a file

    Jul 27, 2018 · ls -R > filename1 this will make a file called filename1 in the current directory, containing a full directory listing of the current directory and all of the sub-directories under it.

  10. usb - Unresponsive when running `df` or `ls` in a Directory of …

    May 31, 2021 · 1 On my Ubuntu 20.04 machine with multiple external hard drives connected via a 16-port USB 3.0 hub, all these drives are mounted into their own directories in a common …