#!/usr/bin/perl use strict; use warnings; for (`parted /dev/sdb print`) { next if /^Model/; # Don't print model line print; }
Have a nice day, j
In reply to Re: Filterint information from external commands
by reisinge
in thread Filterint information from external commands
by Dorficus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |