Dorficus has asked for the wisdom of the Perl Monks concerning the following question:
Hi, I'm trying to display certain information of the disk in the termnial when they run my perl script. My problem is when I use:
`parted /dev/sdb print`
I get all the information I need, but a little too much of it, I don't want to see what model it is, what size it is on the disk etc, any smart and easy ways to filter out this information?
Thanks in advance!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Filterint information from external commands
by roboticus (Chancellor) on Jan 25, 2012 at 13:32 UTC | |
|
Re: Filterint information from external commands
by reisinge (Hermit) on Jan 25, 2012 at 13:37 UTC |