Search Results

Search: Posts Made By: Revansidhu
1,555
Posted By Revansidhu
your command should work ! try this !!! ...
your command should work !

try this !!!

cat a.txt | mail -s "config" xxx@abc.com

or mail -s "config" xxx@abc.com < cat a.txt
Forum: Red Hat 05-08-2013
2,560
Posted By Revansidhu
Try this one if you want only input file path ...
Try this one if you want only input file path

grep "InputFilePath" file | awk -F"<InputFilePath>|</InputFilePath>" '{ print $2}'
1,617
Posted By Revansidhu
use this command awk...
use this command

awk -F"<oID>|</oID>|<status>|</status>" '{print $2":"$4}' file | awk -F: '{ if( $1 == "A123") {print "oID:"$1" status:"$2} else print "oID not maching" }'


---------- Post...
1,752
Posted By Revansidhu
ls -l --time-style="+%Y-%m-%d"
ls -l --time-style="+%Y-%m-%d"
63,497
Posted By Revansidhu
try this one ! wc -l * | awk '{print $1-2 "...
try this one !

wc -l * | awk '{print $1-2 " " $2}'
63,497
Posted By Revansidhu
try this one ! wc -l file | awk '{print $1-2}' ...
try this one !
wc -l file | awk '{print $1-2}'

it gives number lines-2

---------- Post updated at 11:54 AM ---------- Previous update was at 11:54 AM ----------

try this one !
wc -l file |...
2,128
Posted By Revansidhu
Try this one awk '{print $1 " "$2 " "...
Try this one

awk '{print $1 " "$2 " " $3-($1+$2)}' file
0012.00 0010.00 1554.53
0100.00 0500.00 352.83
0500.00 0500.00 760.74
0000.00 0000.00 1536.04
0000.00 0000.00 389.08
0000.00 0000.00...
3,117
Posted By Revansidhu
try this one! lineNumber=1 lstMaxLine=`wc...
try this one!

lineNumber=1
lstMaxLine=`wc -l serverdetailsfile.txt | awk '{print $1}'`
while [ $lineNumber -le $lstMaxLine ]
do
S_server=`head -$lineNumber serverdetailsfile.txt | tail...
1,701
Posted By Revansidhu
try this one! tail -f...
try this one!
tail -f /usr/home/localmode/mode110l/log/logic/number110/digit110_digit110m4_2013050210.txt /usr/home/localmode/mode103l/log/logic/number103/digit103_digit103m4_2013050210.txt ... file...
9,958
Posted By Revansidhu
dot - represents current directory f - regular...
dot - represents current directory
f - regular file
3,824
Posted By Revansidhu
try this one ! code: i=0 while [ $i -le 4 ]...
try this one !
code:
i=0
while [ $i -le 4 ]
do
i=`expr $i + 1`
cp details.csv details$i.csv
done
2,124
Posted By Revansidhu
try this! rm '\'
try this!
rm '\'
1,491
Posted By Revansidhu
Try this if [ $1 == CTRY ]; then awk -F...
Try this
if [ $1 == CTRY ]; then

awk -F "&" '{print $1}' delete.txt | awk -F "=" '{print $2}'
elif [ $1 == PROJTYPE ]; then
awk -F "&" '{print $2}' delete.txt | awk -F "=" '{print $2}'
else...
Showing results 1 to 13 of 13

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