more useful options | |
PerlMonks |
Filterint information from external commandsby Dorficus (Initiate) |
on Jan 25, 2012 at 13:16 UTC ( [id://949899]=perlquestion: print w/replies, xml ) | Need Help?? |
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!
Back to
Seekers of Perl Wisdom
|
|