Search Results

Search: Posts Made By: acomd2
Forum: Solaris 08-12-2007
15,729
Posted By acomd2
you may want to try this..
#!/usr/bin/sh
echo "Enter PATH:"
read PATH
PART=`/usr/bin/df -k $PATH`
echo "The Path is at partition\n"
echo $PART
cd $PATH
USAGE=`/usr/bin/du -sk *|/usr/bin/sort -n|/usr/bin/tail -20`
echo...
5,901
Posted By acomd2
Thanks Madhan, Anbu & shellLife, it was helpful.....
Thanks Madhan, Anbu & shellLife, it was helpful.. finally i used the below to get it right...

open(INFO, "$file") or die "an error occured: $!";
while (<INFO>) {
chomp;
my @lines = split('...
5,901
Posted By acomd2
thank you for all your inputs, it did work,...
thank you for all your inputs,

it did work, if the lines are as below (one space between FEATURE11-11<>B.11.11.0209.5<>Feature Enablement Patches for HP-UX 11i, Sept 2002)

but the actual line...
5,901
Posted By acomd2
Perl : split flat line's to $
Hi,

below is the software list of lines I have,

MozillaSrc 1.7.8.00.00 Mozilla 1.78 Source Distribution
NFS B.11.11 ONC/NFS; Network-File...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 08:50 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy