How do you use the terminal to list different drives?
What is the terminal command to list drives and partitiions in the terminal?
|
Sounds suspiciously like homework.
What are to trying to achieve, and what have you tried ?. |
Quote:
|
"parted -l" (or "fdisk -l") maybe. For Ubuntu you'll need to use "sudo".
"df" will show what is mounted - may or may not be what you're looking for. I prefer "df -hT" (see "man df" for details). "ls" on (almost) anything listed will show lower levels - which can may be able to "cd" into. See the relevant manpages. |
Quote:
|
I like cat /etc/mtab to show mounted drives, especially when I'm finetuning /etc/fstab.
|
All times are GMT -5. The time now is 11:43 AM. |