Question

In: Computer Science

Please fill the following blank with a proper “option” so that the sizes of the files...

Please fill the following blank with a proper “option” so that the sizes of the files can be displayed in either K or M units as shown below.

$ ls –l –S -r ______________________ /bin | tail -2

-rwxr-xr-x 1 root root 998K 2017-05-16 bash

-rwxr-xr-x 1 root root 1.9M 2019-03-27 busybox

$

Solutions

Expert Solution

$ ls -l -S -r -h /bin tail-2

we put    -h, for   --human-readable
              with -l and/or -s, print human readable sizes (e.g., 1K 234M 2G)

write the follwing command in linux terminal to see more information about ls command

output of the command is man ls is as bellow

$man ls

LS(1)                                                          User Commands                                                         LS(1)

NAME
       ls - list directory contents

SYNOPSIS
       ls [OPTION]... [FILE]...

DESCRIPTION
       List information about the FILEs (the current directory by default). Sort entries alphabetically if none of -cftuvSUX nor --sort
       is specified.

       Mandatory arguments to long options are mandatory for short options too.

       -a, --all
              do not ignore entries starting with .

       -A, --almost-all
              do not list implied . and ..

       --author
              with -l, print the author of each file

       -b, --escape
              print C-style escapes for nongraphic characters

       --block-size=SIZE
              scale sizes by SIZE before printing them; e.g., '--block-size=M' prints sizes in units of 1,048,576 bytes; see SIZE format
              below

       -B, --ignore-backups
              do not list implied entries ending with ~

       -c     with -lt: sort by, and show, ctime (time of last modification of file status information); with -l: show ctime and sort by
              name; otherwise: sort by ctime, newest first

-C     list entries by columns

       --color[=WHEN]
              colorize the output; WHEN can be 'always' (default if omitted), 'auto', or 'never'; more info below

       -d, --directory
              list directories themselves, not their contents

       -D, --dired
              generate output designed for Emacs' dired mode

       -f     do not sort, enable -aU, disable -ls --color

       -F, --classify
              append indicator (one of */=>@|) to entries

       --file-type
              likewise, except do not append '*'

       --format=WORD
              across -x, commas -m, horizontal -x, long -l, single-column -1, verbose -l, vertical -C

       --full-time
              like -l --time-style=full-iso

       -g     like -l, but do not list owner

-C     list entries by columns

       --color[=WHEN]
              colorize the output; WHEN can be 'always' (default if omitted), 'auto', or 'never'; more info below

       -d, --directory
              list directories themselves, not their contents

       -D, --dired
              generate output designed for Emacs' dired mode

       -f     do not sort, enable -aU, disable -ls --color

       -F, --classify
              append indicator (one of */=>@|) to entries

       --file-type
              likewise, except do not append '*'

       --format=WORD
              across -x, commas -m, horizontal -x, long -l, single-column -1, verbose -l, vertical -C

       --full-time
              like -l --time-style=full-iso

       -g     like -l, but do not list owner

--group-directories-first
              group directories before files;

              can be augmented with a --sort option, but any use of --sort=none (-U) disables grouping

       -G, --no-group
              in a long listing, don't print group names

       -h, --human-readable
              with -l and/or -s, print human readable sizes (e.g., 1K 234M 2G)

       --si   likewise, but use powers of 1000 not 1024

       -H, --dereference-command-line
              follow symbolic links listed on the command line

       --dereference-command-line-symlink-to-dir
              follow each command line symbolic link

              that points to a directory

       --hide=PATTERN
              do not list implied entries matching shell PATTERN (overridden by -a or -A)

       --hyperlink[=WHEN]
              hyperlink file names; WHEN can be 'always' (default if omitted), 'auto', or 'never'

       --indicator-style=WORD
              append indicator with style WORD to entry names: none (default), slash (-p), file-type (--file-type), classify (-F)

       -i, --inode
Manual page ls(1) line 58/215 43% (press h for help or q to quit)


Related Solutions

using Linux please fill in the blanks : telnos files:
  using Linux please fill in the blanks : telnos files: telnos telnos2 Hale Elizabeth Bot   744-6892Harris Thomas Stat 744-7623Davis Paulette Phys 744-9579Cross Joseph   MS    744-0320Holland Tod    A&S   744-8368 Hale Elizabeth Bot   744-6892Harris Thomas Stat 744-7623Davis Paulette Phys 744-9579Holland Tod    A&S   744-8368 telnos3 telnos 4 Hale Elizabeth Bot   744-6892Harris Thomas Stat 744-7623Smith John     Comsc 744-4444Davis Paulette Phys 744-9579Cross Joseph   MS    744-0320Holland Tod    A&S   744-8368 Hale Elizabeth Bot   744-6892Smith John     Comsc 744-4444Davis Paulette Phys 744-9579Cross Joseph   MS    744-0320Holland Tod    A&S   744-8368...
Please fill in the blank tables below, given the following information. Experiment 1: Measure the pH...
Please fill in the blank tables below, given the following information. Experiment 1: Measure the pH of Acids Take seven small, clean test tubes from the Containers shelf and place them on the workbench. Double-click on the test tubes and label them with numbers 1 – 7. Take 0.1 M hydrochloric acid from the Materials shelf and add 5 mL to test tube 1. Take water from the Materials shelf and add 5 mL to test tube 1. Take water...
Fill in the blank with A, B or A and B based on whether the following...
Fill in the blank with A, B or A and B based on whether the following statements are referring to Ionotropic receptors (A) or metabotropic receptors (B) or both. a) ___ blocked by a-bungarotoxin b) ___ their neurotransmitters are encoded directly by genes c) ___ uses a signal transduction signaling mechanism d) ___ activation can lead to an EPSP e) ___ picrotoxin and barbituate binding f) ___ uses small, clear core vesicles
Please fill in the blank. A class of molecules called _____________________________ are molecules composed of proteins...
Please fill in the blank. A class of molecules called _____________________________ are molecules composed of proteins bound to glycosaminoglycans. These molecules are an important component of the extracellular matrix of animals
Please Fill in the blank: The mitotic spindle consists of ___________. These arise from two _____________,...
Please Fill in the blank: The mitotic spindle consists of ___________. These arise from two _____________, located at a _______________. The mitotic spindle moves ______________ around the cell by attaching to their ________________.
Three types of gametes found in algae are: (blank) (blank) and (blank) fill in blanks:
Three types of gametes found in algae are: (blank) (blank) and (blank) fill in blanks:
FILL IN THE BLANK: (The size of the blank has nothing to do with the answer)...
FILL IN THE BLANK: (The size of the blank has nothing to do with the answer) 1. The _____ propensity to consume is the change in _____ from a one unit increase in aggregate income or output 2. When a country has a stabilization________ it will use Keynesian fiscal stimulus whenever real GDP was expected to fall short of the full ___________ output level. 3. The _________ out effect occurs when government borrowing leads to higher _________ rates and lower...
Fill in the blank with the appropriate medical term. Please “BOLD” the terms that you insert....
Fill in the blank with the appropriate medical term. Please “BOLD” the terms that you insert. Mary just had a baby; therefore, she is in the 6-week period after birth, better known as _________. Since this was Mary’s first viable child, she was termed_________. Before the birth, or during the ________ portion, she was worried that her baby would be born dead, or ______________. She was also worried she may develop metabolic disturbances such as eclampsia, which is known as...
In the blank to the left of each question, fill in the letter from the following...
In the blank to the left of each question, fill in the letter from the following list which best describes the presentation of the item on the financial statements of Helton Corporation for 2018. W. Change in accounting principle X. Change in accounting estimate Y. Correction of an error Z. None of these choices _____ 1. Raiders manufacture heavy equipment to customer specifications on a contract basis. On the basis that it is preferable, accounting for these long term contracts...
Fill in the blanks. A country is a net ​[fill in blank one] of the goods...
Fill in the blanks. A country is a net ​[fill in blank one] of the goods for which its relative price under Autarky is lower than under free trade and a net ​[fill in blank two] of the other good. A exporter, importer B importer, exporter C exporter, exporter D importer, importer E not enough information to know either direction of trade
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT