About 1,020,000 results
Open links in new tab
  1. What do the different colors mean in ls? - Ask Ubuntu

    Dec 14, 2010 · The command ls with the argument --color=auto (on Ubuntu, ls is an alias for ls --color=auto) goes through all the file names and tries first to match different types, like …

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

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

  6. How to list directories sorted by modification date? - Ask Ubuntu

    Apr 9, 2025 · I tried to run ls -t grep -v / | tr ',' ' '. That command is intended to list all of the directories in that directory that are not hidden, dot or double dot directories. The question is …

  7. Difference between 'dir' and 'ls' terminal commands?

    When ls exists both as an alias and an external command, the alias takes precedence in simple, interactive commands. Alias definitions aren't expanded recursively--it's the external ls …

  8. How to access Windows files from Linux in WSL? - Ask Ubuntu

    Nov 23, 2022 · I'm starting to learn how to use the terminal with Ubuntu on WSL (Windows). Just from the very beginning of the course it says that if you use the ls command it should show …

  9. What is the difference between "ls" and "ls -p"? [closed]

    Jul 21, 2017 · $ ls block dm-1 hwrng It's hard to tell which one is a directory and which one is a file, right? So: $ ls -p block/ dm-1 hwrng Now I can tell the block is a directory.

  10. How to find owner and group of a directory? - Ask Ubuntu

    Aug 12, 2012 · 27 To get the owner and group of a directory you need ls -ld /path/to/folder Otherwise you get the attributes of the contents of the directory.