Search Results

Search: Posts Made By: uthay85
5,968
Posted By uthay85
Hi patrick, i have tried your scenario,...
Hi patrick,

i have tried your scenario, pelase find the script and its working for your scenario.

t1 - File_1
t2 - File_2

script:

$more t3.sh
#!/bin/bash
exec<t1
while read line
do...
11,385
Posted By uthay85
Try this one. comm -12 file1 file2
Try this one.

comm -12 file1 file2
2,127
Posted By uthay85
Hi, Pleas chk it out. and you have use...
Hi,

Pleas chk it out. and you have use single "=" only.

#!/bin/sh
set USER=`/usr/ucb/whoami`

#######################################################################
#Killing Process...
1,951
Posted By uthay85
please find the commands 1st output - paste...
please find the commands

1st output - paste File1.txt File2.txt
2nd outupt - paste File1.txt File2.txt|awk '{print $2,$3,$5,$1}'
Forum: Fedora 09-28-2009
9,374
Posted By uthay85
*/1 * * * * /usr/bin/df -h|/usr/bin/mailx -s...
*/1 * * * * /usr/bin/df -h|/usr/bin/mailx -s "TESTING" MYADDRESS@mail.com

its working in my server. try this one.
6,265
Posted By uthay85
uuencode $ATTACH $ATTACH |mailx -s "SUBJECT"...
uuencode $ATTACH $ATTACH |mailx -s "SUBJECT" $MAILTO

Please try this one.....
1,969
Posted By uthay85
Hi, Please find the command awk...
Hi,

Please find the command

awk '/^start/,/^end/' a1(Filenmae1) > a2(filename2)

example:

$more a1
start
one two
three four
end
five sixe
severn eight
start
chennai
salem...
2,728
Posted By uthay85
you can get ur output in sort command itself. ...
you can get ur output in sort command itself.

sorn -n <filename>

please find the example:

$more a1
5.6789
2.4578
9.4678
13.5673
1.6589
2.8888
2.7593
124.234
3.3333
5.8990...
2,324
Posted By uthay85
Hi, if [ "$ydate == $testdate" ] if you...
Hi,

if [ "$ydate == $testdate" ]

if you use like this you will get the output.

if [ "$ydate" = "$testdate" ]
3,216
Posted By uthay85
Hi, Try this. 894t005 $df -h |awk...
Hi,

Try this.

894t005 $df -h |awk '$5>80{print "HI " $0 " BYE"}'|grep -v "Filesystem"HI /lib 9.8G 8.6G 1.1G 89% /lib BYE
HI /platform 9.8G 8.6G ...
4,348
Posted By uthay85
Hi, Try this. fgrep -f 1.txt 2.txt
Hi,

Try this.

fgrep -f 1.txt 2.txt
Showing results 1 to 11 of 11

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