About 911,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 each …

  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 the below …

  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 path? I have …

  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. 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 doing this? …

  6. command line - How to sort the output of `ls`? - Ask Ubuntu

    Oct 7, 2018 · 0 ls -l : lists files of the directory vertically but not in a particular order. ls -l | sort -k 3 : -k 3 would sort the output of the previous command by the 3rd column.

  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. What could …

  8. usb - Unresponsive when running `df` or `ls` in a Directory of Mount ...

    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 parent …

  9. Using LS To Show The Date Modified And A Specific Number Of Files

    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 output by the -l …

  10. Find number of files in folder and sub folders? - Ask Ubuntu

    Apr 8, 2011 · I want to find the total count of the number of files under a folder and all its sub folders.