Search Results

Search: Posts Made By: mukulverma2408
1,868
Posted By mukulverma2408
You can try : awk '{ print FILENAME,$0 ;}'...
You can try :

awk '{ print FILENAME,$0 ;}' file1 file2 > tmp.tmp
3,698
Posted By mukulverma2408
Hi Aviv, wc -l files will also give you total...
Hi Aviv,
wc -l files will also give you total line if more than one FILE is specified.
example :

wc -l file1 file2 file3 file4
13 file1
9 file2
3 file3
9 file4
34 total

then u...
Showing results 1 to 2 of 2

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