We’d like to remind Forumites to please avoid political debate on the Forum.
This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
The Forum now has a brand new text editor, adding a bunch of handy features to use when creating posts. Read more in our how-to guide
Ubuntu Linux -how do I check drives ?
mro
Posts: 813 Forumite
in Techie Stuff
I installed Ubuntu Linux on laptop.
How I check Drives/Partitions available, space available etc. like in Windows Explorer ?
I can see following.
How I check Drives/Partitions available, space available etc. like in Windows Explorer ?
I can see following.
0
Comments
-
Maybe I am old school, but I would simply open a terminal session and then type:
df -kl
Terminal is like windows command prompt. Remember the commands are case sensitive so enter as all lower case. df will give you a text rendition of mounted local partitions and their usage.0 -
Me too, however if you right click on a folder then select properties then you will see more info for the folder, but note the total free space is for the underlying partition (much like windows does)marty2be2000 wrote: »Maybe I am old school, but I would simply open a terminal session and then type:
df -kl
Terminal is like windows command prompt. Remember the commands are case sensitive so enter as all lower case. df will give you a text rendition of mounted local partitions and their usage.
In a terminal as above you can see more for each folder by using command line commands
e.g. in the terminal you will normally be in your "home" folder
thus enter this
du -s * | sort -n
you will get something like this244 mo.pdf 248 fred 1216 contract2.pdf 2884 contract1.pdf 3444 picss-2.jpg 3496 Ice Cream Maker.pdf 3744 picss-1.jpg 15108 godmode.pdf
issuing df gives something like thisFilesystem 1K-blocks Used Available Use% Mounted on devtmpfs 4006476 0 4006476 0% /dev tmpfs 4018668 49784 3968884 2% /dev/shm tmpfs 4018668 1828 4016840 1% /run tmpfs 4018668 0 4018668 0% /sys/fs/cgroup /dev/sdb5 47346452 22681156 22237188 51% / tmpfs 4018668 3112 4015556 1% /tmp /dev/sdb2 98304 34422 63882 36% /boot/efi /dev/sda3 603710160 207959964 365013812 37% /home tmpfs 803732 16 803716 1% /run/user/42 tmpfs 803732 48 803684 1% /run/user/1000 /dev/mmcblk0p1 62351356 10024876 52326480 17% /run/media/rob/2AAFE8604AEF1252
Windows is OK but using powershell or cmd you can do much more, the same is true for linux.
Don't be put off by the fact that ubuntu is not like Windows , there is much to learn if you wish to explore , but the folks on here can help. I prefer fedora but it's not for the novice:cool:4.8kWp 12x400W Longhi 9.6 kWh battery Giv-hy 5.0 Inverter, WSW facing Essex . Aint no sunshine ☀️ Octopus gas fixed dec 24 @ 5.74 tracker again+ Octopus Intelligent Flux leccy
CEC Email energyclub@moneysavingexpert.com0 -
debitcardmayhem wrote: »I prefer fedora but it's not for the novice:cool:
Can I just interject, you say Fedora isnt for the novice, which 1 would you say is for for the novice ?0 -
Perhaps mint or zorin, but to be honest learning some command line stuff and be prepared for a learning curve. However I wouldn't suggest Windows for a novice either even tablets/phones have a getting used to them period. Perhaps I was hasty in saying fedora not for the novice , any "new to you" tech has to be learnt.Can I just interject, you say Fedora isnt for the novice, which 1 would you say is for for the novice ?4.8kWp 12x400W Longhi 9.6 kWh battery Giv-hy 5.0 Inverter, WSW facing Essex . Aint no sunshine ☀️ Octopus gas fixed dec 24 @ 5.74 tracker again+ Octopus Intelligent Flux leccy
CEC Email energyclub@moneysavingexpert.com0 -
Go to the start menu and type in 'disks'. There should be a program in there called 'Disks' that will show you what disks and partitions are set up.0
-
There's no need to use the command line as much as there used to be. The only time I have to resort to the command line is to fix one of the many issues a Linux distro can have. Pretty much everything is easier and quicker to do in a GUI.This is a system account and does not represent a real person. To contact the Forum Team email forumteam@moneysavingexpert.com0
-
There's no need to use the command line as much as there used to be. The only time I have to resort to the command line is to fix one of the many issues a Linux distro can have. Pretty much everything is easier and quicker to do in a GUI.
Rubbish -- there are so many things that are easier to do in a command prompt. A lot of GNU/Linux apps don't even have a GUI.0 -
*tip*
use 'df -h' (the -h means "human readable" so it sticks from bytes into Mb/Gb/Tb as applicable:bill@Giga:~$ df -h Filesystem Size Used Avail Use% Mounted on udev 4.9G 0 4.9G 0% /dev tmpfs 995M 48M 947M 5% /run /dev/sda2 55G 28G 25G 54% / tmpfs 4.9G 36M 4.9G 1% /dev/shm tmpfs 5.0M 4.0K 5.0M 1% /run/lock tmpfs 4.9G 0 4.9G 0% /sys/fs/cgroup /dev/sda1 511M 4.6M 507M 1% /boot/efi /dev/sdb1 1.8T 844G 893G 49% /home /dev/sdc 2.7T 1.9T 670G 75% /home/bill/V1/Plex
Laters
Sol
"Have you found the secrets of the universe? Asked Zebade "I'm sure I left them here somewhere"0 -
Yes, I found that.AllTheseUserNamesAreTaken wrote: »Go to the start menu and type in 'disks'. There should be a program in there called 'Disks' that will show you what disks and partitions are set up.
I wanted to check if there was hidden partitions/partitioned/unformatted space as I deleted partitions and merged long time ago, then installed Ubuntu. There were 3 partitions before (199MB, 76GB, 520GB). Wasn't sure how this had worked out.
0 -
Also found Disk Usage Analyser.
0
This discussion has been closed.
Confirm your email address to Create Threads and Reply
Categories
- All Categories
- 353.5K Banking & Borrowing
- 254.2K Reduce Debt & Boost Income
- 455.1K Spending & Discounts
- 246.6K Work, Benefits & Business
- 603K Mortgages, Homes & Bills
- 178.1K Life & Family
- 260.6K Travel & Transport
- 1.5M Hobbies & Leisure
- 16K Discuss & Feedback
- 37.7K Read-Only Boards

