ls -s command, what type of file size

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












When you type ls -s what size unit, does the unix system use to display the file sizes, bits, bytes, megabyte?



I'm unaware of this, can somebody please tell me?







share|improve this question
























    up vote
    0
    down vote

    favorite












    When you type ls -s what size unit, does the unix system use to display the file sizes, bits, bytes, megabyte?



    I'm unaware of this, can somebody please tell me?







    share|improve this question






















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      When you type ls -s what size unit, does the unix system use to display the file sizes, bits, bytes, megabyte?



      I'm unaware of this, can somebody please tell me?







      share|improve this question












      When you type ls -s what size unit, does the unix system use to display the file sizes, bits, bytes, megabyte?



      I'm unaware of this, can somebody please tell me?









      share|improve this question











      share|improve this question




      share|improve this question










      asked May 17 at 21:09









      kristheman

      52




      52




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          2
          down vote



          accepted










          It shows the size of the file in blocks. I guess, it is in KBs. If you use -h option along with -s, like ls -sh you could see the size in human readable format. For more info check the man page.






          share|improve this answer




















            Your Answer







            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "89"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            convertImagesToLinks: true,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );








             

            draft saved


            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1037560%2fls-s-command-what-type-of-file-size%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            2
            down vote



            accepted










            It shows the size of the file in blocks. I guess, it is in KBs. If you use -h option along with -s, like ls -sh you could see the size in human readable format. For more info check the man page.






            share|improve this answer
























              up vote
              2
              down vote



              accepted










              It shows the size of the file in blocks. I guess, it is in KBs. If you use -h option along with -s, like ls -sh you could see the size in human readable format. For more info check the man page.






              share|improve this answer






















                up vote
                2
                down vote



                accepted







                up vote
                2
                down vote



                accepted






                It shows the size of the file in blocks. I guess, it is in KBs. If you use -h option along with -s, like ls -sh you could see the size in human readable format. For more info check the man page.






                share|improve this answer












                It shows the size of the file in blocks. I guess, it is in KBs. If you use -h option along with -s, like ls -sh you could see the size in human readable format. For more info check the man page.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered May 17 at 21:31









                Nakini

                159116




                159116






















                     

                    draft saved


                    draft discarded


























                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1037560%2fls-s-command-what-type-of-file-size%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    pylint3 and pip3 broken

                    Missing snmpget and snmpwalk

                    How to enroll fingerprints to Ubuntu 17.10 with VFS491