What is the total size of your Linux installation and total partitions on the system?
I am going through the Linux documentation and trying to answer the following questions
- On which partition is your home directory?
- How many partitions are on your system?
- 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
migrated from stackoverflow.com Dec 29 '18 at 8:46
This question came from our site for professional and enthusiast programmers.
add a comment |
I am going through the Linux documentation and trying to answer the following questions
- On which partition is your home directory?
- How many partitions are on your system?
- 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
migrated from stackoverflow.com Dec 29 '18 at 8:46
This question came from our site for professional and enthusiast programmers.
add a comment |
I am going through the Linux documentation and trying to answer the following questions
- On which partition is your home directory?
- How many partitions are on your system?
- 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
I am going through the Linux documentation and trying to answer the following questions
- On which partition is your home directory?
- How many partitions are on your system?
- 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
linux df
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.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
You have two real disk partitions, sda1
and sda2
. Since sda1
is 511MB and sda2
is 916GB, your total size is roughly 917GB.
2
Off topic question and give a man a fish ...
– Nic3500
Dec 29 '18 at 5:06
instead of df use dudu -sh
– mckenzm
Dec 29 '18 at 10:24
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
You have two real disk partitions, sda1
and sda2
. Since sda1
is 511MB and sda2
is 916GB, your total size is roughly 917GB.
2
Off topic question and give a man a fish ...
– Nic3500
Dec 29 '18 at 5:06
instead of df use dudu -sh
– mckenzm
Dec 29 '18 at 10:24
add a comment |
You have two real disk partitions, sda1
and sda2
. Since sda1
is 511MB and sda2
is 916GB, your total size is roughly 917GB.
2
Off topic question and give a man a fish ...
– Nic3500
Dec 29 '18 at 5:06
instead of df use dudu -sh
– mckenzm
Dec 29 '18 at 10:24
add a comment |
You have two real disk partitions, sda1
and sda2
. Since sda1
is 511MB and sda2
is 916GB, your total size is roughly 917GB.
You have two real disk partitions, sda1
and sda2
. Since sda1
is 511MB and sda2
is 916GB, your total size is roughly 917GB.
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 dudu -sh
– mckenzm
Dec 29 '18 at 10:24
add a comment |
2
Off topic question and give a man a fish ...
– Nic3500
Dec 29 '18 at 5:06
instead of df use dudu -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
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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