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

  3. Is it possible to list only the filename and size for each file in a ...

    Nov 1, 2019 · Is it possible using only ( and strictly only ) the ls options? No. Is it possible to get such output ? Yes, either with what bac0n suggested or with du command. That's exactly the …

  4. Is it possible to get ls to show file size, not allocated size?

    Jan 16, 2020 · $ ls -lshk 9962420 -rw-r--r-- 1 stevebennett staff 19G 16 Jan 14:30 parcelsclip.zip_.gstmp In this case, the file will be 19GB eventually, but right now, it's only …

  5. What does `ls --directory` stand for? - Ask Ubuntu

    Mar 5, 2017 · 18 In my Ubuntu version the man ls has the next info about --directory: list directory entries instead of contents, and do not dereference symbolic links So I'm a little confused how …

  6. ls -s command, what type of file size - Ask Ubuntu

    Jan 16, 2019 · When you type ls -s, what size unit does it use to display the file sizes - bits, bytes, megabytes?

  7. Why doesn't the command "ls | file" work? - Ask Ubuntu

    Jul 7, 2016 · I've been studying about the command line and learned that | (pipeline) is meant to redirect the output from a command to the input of another one. So why does the command ls …

  8. command line - Useful example of ls -b, --escape - Ask Ubuntu

    Mar 5, 2017 · I'm new to Ubuntu and I'm learning the ls arguments. I've tested the -b, --escape arguments (print C-style escapes for nongraphic characters) but I haven't found an useful …

  9. command line - ls / hangs indefinitely - Ask Ubuntu

    Jun 6, 2024 · ls / hangs indefinitely Ask Question Asked 1 year, 7 months ago Modified 1 year, 7 months ago

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