Avatar of 91Change
91Change

asked on 

linux -find all all drives

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 ?


                   
Shell ScriptingLinux OS DevLinux Distributions

Avatar of undefined
Last Comment
91Change

8/22/2022 - Mon