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