Search Results

Search: Posts Made By: sdebasis
Forum: What is on Your Mind? 12-24-2014
2,419
Posted By Neo
Merry Christmas 2014
Merry Christmas to All. Peace on Earth and Goodwill toward Everyone

https://www.unix.com/members/1-albums112-picture653.jpg
1,770
Posted By RavinderSingh13
Hello, Following may help you. awk...
Hello,

Following may help you.


awk '$1 ~ /G/ {print $0}' file_name



Output will be as follows.


1G /tmp/a/b
2.2G /tmp/c


Thanks,
R. Singh
1,400
Posted By Scrutinizer
Assuming the lines are in chronological order...
Assuming the lines are in chronological order within the file and there are no spaces in the file names, try
awk '{A[$NF]=$0} END{for(i in A) print A[i]}' file
1,820
Posted By Indumathy
Try this, sed 's/\%//g; s/G//g' text ...
Try this,
sed 's/\%//g; s/G//g' text

Regards,
Indu
3,026
Posted By jayan_jay
sort < infile | uniq -c
sort < infile | uniq -c
1,393
Posted By balajesuri
while read x; do echo "reader='$x' or"; done <...
while read x; do echo "reader='$x' or"; done < inputfile

sed -e "s/^/reader='/g" -e "s/$/' or/g" inputfile
1,393
Posted By ahamed101
Try this... sed "s/.*/read='&' or/g;$...
Try this...

sed "s/.*/read='&' or/g;$ {s/or//g}" infile


--ahamed
22,298
Posted By jayan_jay
Try with this .. printf "Enter start range...
Try with this ..

printf "Enter start range : " ; read a
printf "Enter end range : " ; read b
sqlplus -s $dbconnect <<-!
whenever sqlerror exit 1
select * from temp_table where rownum >= $a...
4,814
Posted By verdepollo
Or you can use rsync to do the trick: rsync...
Or you can use rsync to do the trick:

rsync -nr --existing dir1/ dir2/
2,267
Posted By itkamaraj
df -h | grep "9[0-9]%"
df -h | grep "9[0-9]%"
Showing results 1 to 10 of 10

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