Search Results

Search: Posts Made By: sil
9,096
Posted By sil
ls -ul | grep "filename" | awk '{ print $9, $6...
ls -ul | grep "filename" | awk '{ print $9, $6 ,$7, $8, }' > fl

ls -ul |awk '/filename/{print $9, $6 ,$7, $8, }' > fl

Why bother with grep?

ls -ul |awk '!/filename/{print $9, $6 ,$7, $8, }'...
2,293
Posted By sil
simplifying awk
tcpdump -nr testdump|awk '!/:/;gsub(/^[ \t]+|[ \t]+$/,""){print $3};a!~$0;{a=$0};{print $3};!/length/;/./;!/11\:/;!/8 7 6 5 4 3 2 1/;!/UDP/{b[i++]=$0} END {for (j=i-1; j>=0; ) print b[j--] };{for...
6,326
Posted By sil
sed -e 's/'${line1}'/'${line1_m}'/g' will work in...
sed -e 's/'${line1}'/'${line1_m}'/g' will work in Bash not sh what shell are you using
4,166
Posted By sil
hey... I just answered his q for tail... I don't...
hey... I just answered his q for tail... I don't understand it either myself.
4,166
Posted By sil
tail -n 1918 filename > test
tail -n 1918 filename > test
Showing results 1 to 5 of 5

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