Asked by 91Change in Bourne-Again Shell (bash), Linux Programming, Red Hat Linux
i tried -- df -h mount But these commands list logical partions ..like ../dev/hda1 /dev/hda2 ...but I am interested only in finding only drives ..(/dev/hda ) . Is there any direct command or simple script (bash) available ?
At Experts Exchange, members can ask their questions to thousands of technology professionals,
also known as Experts. Experts compete and collaborate to answer those questions by leaving
comments like this one.
Often, when Experts are collaborating with members who have asked questions, they will request
additional information about the problem. Askers respond with an author comment like this one.
At Experts Exchange, members can ask their questions to thousands of technology professionals,
also known as Experts. Experts compete and collaborate to answer those questions by leaving
comments like this one.
View this solution now by starting your
7-day free trial.
Setting up your free trial is quick, easy, and secure. We will return you to this solution,
unlocked, when you're done.
About this solution
Zones: Bourne-Again Shell (bash), Linux Programming, Red Hat Linux
Often, when Experts are collaborating with members who have asked questions, they will request
additional information about the problem. Askers respond with an author comment like this one.