Search Results

Search: Posts Made By: abhilash_menon
55,491
Posted By abhilash_menon
Thanks.I got the same as echo `wc -l...
Thanks.I got the same as
echo `wc -l outfile2; du -sk outfile2` > xyz.txt
55,491
Posted By abhilash_menon
I would like to know how can I write the output...
I would like to know how can I write the output of these 2 commands into a file.I tried like
wc -l outfile2;du -sk outfile2>xyz.txt
Then it is writing only the output of second command to the...
18,680
Posted By abhilash_menon
Thanks vgersh.I don't know why it still prints...
Thanks vgersh.I don't know why it still prints the count as 0 only for all the files.
18,680
Posted By abhilash_menon
I modified slightly.It prints.But for the...
I modified slightly.It prints.But for the rowcount, it is giving as 0 always.Any inputs?
#!/usr/bin/ksh
OUTFILE=infofile
cd /home/XYZ/ASH/;
for i in /home/XYZ/ASH/*.gz ;
do
ROW_COUNT=`zcat...
18,680
Posted By abhilash_menon
Script to get Row Count of ZIP Files
Hi,
I have some data files in a zipped format.(eg: aa.gz).I would like to know the number or rows in each zip file(May be populate the file name and line numbers into a text file).I know the...
Showing results 1 to 5 of 5

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