Registered: Sep 2006
Location: Nagpur, Maharashtra, India
Distribution: Debian, Ubuntu, Redhat, Fedora, SLES, OpenSUSE, FreeBSD, Mac OS X
Displaying the Partitions & File-System
I intend to write a shell script that will display the partitions & the respective file-systems. So I am planning to write a Shell Script as given below:
But My problem is that when I execute the above script, I am required to enter the "p" manually to display the partition table How can I automate that so that I don't need to enter "p" manually.