What is the total size of your Linux installation and total partitions on the system?












-1















I am going through the Linux documentation and trying to answer the following questions




  1. On which partition is your home directory?

  2. How many partitions are on your system?

  3. What is the total size of your Linux installation?


I used the following commands to answer 1 & 2 but how to answer 3?



$ df -h
Filesystem Size Used Avail Use% Mounted on
udev 1.9G 0 1.9G 0% /dev
tmpfs 385M 1.7M 384M 1% /run
/dev/sda2 916G 9.0G 860G 2% /
tmpfs 1.9G 8.0K 1.9G 1% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
/dev/sda1 511M 6.1M 505M 2% /boot/efi
tmpfs 385M 128K 385M 1% /run/user/1000

$ df -h /home/rishik
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 916G 9.0G 860G 2% /

$ df -h | wc -l
9









share|improve this question













migrated from stackoverflow.com Dec 29 '18 at 8:46


This question came from our site for professional and enthusiast programmers.




















    -1















    I am going through the Linux documentation and trying to answer the following questions




    1. On which partition is your home directory?

    2. How many partitions are on your system?

    3. What is the total size of your Linux installation?


    I used the following commands to answer 1 & 2 but how to answer 3?



    $ df -h
    Filesystem Size Used Avail Use% Mounted on
    udev 1.9G 0 1.9G 0% /dev
    tmpfs 385M 1.7M 384M 1% /run
    /dev/sda2 916G 9.0G 860G 2% /
    tmpfs 1.9G 8.0K 1.9G 1% /dev/shm
    tmpfs 5.0M 4.0K 5.0M 1% /run/lock
    tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
    /dev/sda1 511M 6.1M 505M 2% /boot/efi
    tmpfs 385M 128K 385M 1% /run/user/1000

    $ df -h /home/rishik
    Filesystem Size Used Avail Use% Mounted on
    /dev/sda2 916G 9.0G 860G 2% /

    $ df -h | wc -l
    9









    share|improve this question













    migrated from stackoverflow.com Dec 29 '18 at 8:46


    This question came from our site for professional and enthusiast programmers.


















      -1












      -1








      -1








      I am going through the Linux documentation and trying to answer the following questions




      1. On which partition is your home directory?

      2. How many partitions are on your system?

      3. What is the total size of your Linux installation?


      I used the following commands to answer 1 & 2 but how to answer 3?



      $ df -h
      Filesystem Size Used Avail Use% Mounted on
      udev 1.9G 0 1.9G 0% /dev
      tmpfs 385M 1.7M 384M 1% /run
      /dev/sda2 916G 9.0G 860G 2% /
      tmpfs 1.9G 8.0K 1.9G 1% /dev/shm
      tmpfs 5.0M 4.0K 5.0M 1% /run/lock
      tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
      /dev/sda1 511M 6.1M 505M 2% /boot/efi
      tmpfs 385M 128K 385M 1% /run/user/1000

      $ df -h /home/rishik
      Filesystem Size Used Avail Use% Mounted on
      /dev/sda2 916G 9.0G 860G 2% /

      $ df -h | wc -l
      9









      share|improve this question














      I am going through the Linux documentation and trying to answer the following questions




      1. On which partition is your home directory?

      2. How many partitions are on your system?

      3. What is the total size of your Linux installation?


      I used the following commands to answer 1 & 2 but how to answer 3?



      $ df -h
      Filesystem Size Used Avail Use% Mounted on
      udev 1.9G 0 1.9G 0% /dev
      tmpfs 385M 1.7M 384M 1% /run
      /dev/sda2 916G 9.0G 860G 2% /
      tmpfs 1.9G 8.0K 1.9G 1% /dev/shm
      tmpfs 5.0M 4.0K 5.0M 1% /run/lock
      tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
      /dev/sda1 511M 6.1M 505M 2% /boot/efi
      tmpfs 385M 128K 385M 1% /run/user/1000

      $ df -h /home/rishik
      Filesystem Size Used Avail Use% Mounted on
      /dev/sda2 916G 9.0G 860G 2% /

      $ df -h | wc -l
      9






      linux df






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Dec 29 '18 at 4:57









      Aravind R. YarramAravind R. Yarram

      133126




      133126




      migrated from stackoverflow.com Dec 29 '18 at 8:46


      This question came from our site for professional and enthusiast programmers.






      migrated from stackoverflow.com Dec 29 '18 at 8:46


      This question came from our site for professional and enthusiast programmers.
























          1 Answer
          1






          active

          oldest

          votes


















          1














          You have two real disk partitions, sda1 and sda2. Since sda1 is 511MB and sda2 is 916GB, your total size is roughly 917GB.






          share|improve this answer



















          • 2





            Off topic question and give a man a fish ...

            – Nic3500
            Dec 29 '18 at 5:06











          • instead of df use du du -sh

            – mckenzm
            Dec 29 '18 at 10:24













          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          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',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1388688%2fwhat-is-the-total-size-of-your-linux-installation-and-total-partitions-on-the-sy%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          1














          You have two real disk partitions, sda1 and sda2. Since sda1 is 511MB and sda2 is 916GB, your total size is roughly 917GB.






          share|improve this answer



















          • 2





            Off topic question and give a man a fish ...

            – Nic3500
            Dec 29 '18 at 5:06











          • instead of df use du du -sh

            – mckenzm
            Dec 29 '18 at 10:24


















          1














          You have two real disk partitions, sda1 and sda2. Since sda1 is 511MB and sda2 is 916GB, your total size is roughly 917GB.






          share|improve this answer



















          • 2





            Off topic question and give a man a fish ...

            – Nic3500
            Dec 29 '18 at 5:06











          • instead of df use du du -sh

            – mckenzm
            Dec 29 '18 at 10:24
















          1












          1








          1







          You have two real disk partitions, sda1 and sda2. Since sda1 is 511MB and sda2 is 916GB, your total size is roughly 917GB.






          share|improve this answer













          You have two real disk partitions, sda1 and sda2. Since sda1 is 511MB and sda2 is 916GB, your total size is roughly 917GB.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Dec 29 '18 at 5:05









          David SchwartzDavid Schwartz

          56.6k685129




          56.6k685129








          • 2





            Off topic question and give a man a fish ...

            – Nic3500
            Dec 29 '18 at 5:06











          • instead of df use du du -sh

            – mckenzm
            Dec 29 '18 at 10:24
















          • 2





            Off topic question and give a man a fish ...

            – Nic3500
            Dec 29 '18 at 5:06











          • instead of df use du du -sh

            – mckenzm
            Dec 29 '18 at 10:24










          2




          2





          Off topic question and give a man a fish ...

          – Nic3500
          Dec 29 '18 at 5:06





          Off topic question and give a man a fish ...

          – Nic3500
          Dec 29 '18 at 5:06













          instead of df use du du -sh

          – mckenzm
          Dec 29 '18 at 10:24







          instead of df use du du -sh

          – mckenzm
          Dec 29 '18 at 10:24




















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Super User!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1388688%2fwhat-is-the-total-size-of-your-linux-installation-and-total-partitions-on-the-sy%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

          Mangá

          Eduardo VII do Reino Unido