Search Results

Search: Posts Made By: venkatareddy
2,255
Posted By venkatareddy
Hi, you can append to the file in the...
Hi,
you can append to the file in the following format

echo "T|$count " >>$fn.txt

incase if it needs to printed in new line

echo -e "\n T|$count " >> $fn.txt

thanks,
venkat
28,367
Posted By venkatareddy
Hi, right click on the top of cygwin...
Hi,
right click on the top of cygwin terminal ->options ->text under Font click on
select and set whatever size u want

thanks,
venkat
1,634
Posted By venkatareddy
Hi, Please use this code $ sed -n...
Hi,
Please use this code

$ sed -n '/from/,/where/p' f1.txt|awk '{print $4}'

O/p:-
----
$ sed -n '/from/,/where/p' f1.txt|awk '{print $4}'
xyz
abc


$ cat f1.txt
select * from...
45,583
Posted By venkatareddy
#!/bin/bash for x in `cat parameter.config`...
#!/bin/bash

for x in `cat parameter.config`
do
sh script.sh $x
done

thanks,
venkat
1,166
Posted By venkatareddy
You can use top command it will list you the %CPU...
You can use top command it will list you the %CPU Consumption by each process

code could be like this

bash-3.2$ top |awk '{print $2 , $3 , $9=0}'
Output

PID USER 0
8971 raj 0
3042...
Showing results 1 to 5 of 5

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