Search Results

Search: Posts Made By: sayami00
4,241
Posted By sayami00
You can try with like this also . I am not using...
You can try with like this also . I am not using sed here.

awk -v place=`awk '$1~/apple/ {a=a+1;if(a==2){b=NR}} END {print b} ' file1` '{ if(FILENAME == "file1" && NR <=place) { print };...
16,633
Posted By sayami00
Try this one also :- cur_dir=`pwd` for...
Try this one also :-
cur_dir=`pwd`
for loop_dir in `ls -altr | awk '{if($9!="." && $9!=".." && $9!="")print $9}'`
do
cd $cur_dir
if [ -d $loop_dir ] ; then
cd $cur_dir/$loop_dir
for...
Showing results 1 to 2 of 2

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