Search Results

Search: Posts Made By: sreelu
3,211
Posted By sreelu
fixperms on folders in shell script
Hi,

I am using fixperms command to change permissions of diretories in my script, i have to change 3 directories permissions one by one using fixperms.

i tried the below code

code:
exec...
8,110
Posted By sreelu
Display both html and plain text in email in shell script
Hi,

I want to display both html and plain in email in my script.

i tried the below code

code:

export MAILTO="ssi@a.com"
export CONTENT1="$htmlfile"
export CONTENT2="$plainfile"...
3,325
Posted By sreelu
i tried the below code code: echo "...
i tried the below code
code:


echo " <TABLE border=1><THEAD> <TH><h3>Health check </h3></TH> <TR> <TD> <FONT color=RED> exceeds 0.3 % </FONT> </br></TD></TR></THEAD></TABLE>" >> $output

...
3,325
Posted By sreelu
Tabular form in shell script
hi,

I need to mention the data in tabular form in shell script. :confused:

Input as below:

Health check (heading1)
CPU/Memory Utilization of pc on server (h2)
1214 of rpc3 is exceeds...
13,471
Posted By sreelu
Change the font of text in output file in shell scipt
hi,

I want to change the font of text in output file. :(

I tried the below code
code:
if awk 'BEGIN{if('$RSS'>='1000')exit 0;exit 1}'
then
RED=`echo "\033[31m"`
echo "${RED} $Process...
2,181
Posted By sreelu
---------- Post updated at 03:30 AM ----------...
---------- Post updated at 03:30 AM ---------- Previous update was at 03:29 AM ----------

:)
2,181
Posted By sreelu
no, its not working :(:(:( cat (filename) |...
no, its not working :(:(:(
cat (filename) | head -9 | tail -1 | awk -F \\ '{print $2}'

showing an error as,

awk: syntax error near line 1
awk: bailing out near line 1

thanks.
2,181
Posted By sreelu
its not working :( please suggest any other...
its not working :(

please suggest any other way...

---------- Post updated at 01:03 AM ---------- Previous update was at 12:56 AM ----------

Hi
I actually got this line,...
2,181
Posted By sreelu
i want to get fr01 as an output. Have to...
i want to get fr01 as an output.

Have to take this value(fr01 ) seperately... as an output from from the line
3\fr01 \fr01 \sample01\dee\10\0

thanks in advance
2,181
Posted By sreelu
Extract the value from a line
hi,

I need to get a particular word (marked in RED)from the below line.


3\fr01 \fr01 \fr01 \fr01 \10\0


Please suggest me with the command
1,913
Posted By sreelu
Installation of WRQ Reflection Suite version 12.0 using console mode
hi,

I have installed WRQ Reflection Suite version 12.0 on my machine.how to configure it? Please suggest me what are the steps after installation?
4,277
Posted By sreelu
thank you, its working :)
thank you, its working :)
4,277
Posted By sreelu
"From" option in mail command
hi,

Please suggest me how to mention "from" option in mailx command?



mailx -s "Info " ssa@org.com < file
2,633
Posted By sreelu
for loop syntax
hi,

I have to use for loop in my script. The below code is providing an output,
1,2,3,4,5..n. But i need to display the values one by one eg: it has to display the first value then exit from the...
5,020
Posted By sreelu
sorry not if loop, how to exit from if condtion...
sorry not if loop,
how to exit from if condtion

if [ Flag1 = 0 ]; then
exit

else
echo "testing1"
fi

if [ Flag2 = 0 ]; then
exit

else
echo "testing2"
fi


this exit is...
5,020
Posted By sreelu
Exit from loop
hi,

how to exit from "if" loop?actually i have mutliple "if" conditions, i have to exit from each "if" loop,if it is true...:confused:

Please suggest me...
7,423
Posted By sreelu
Thank You:)
Thank You:)
7,423
Posted By sreelu
acutally i have many ids can't mention them in...
acutally i have many ids can't mention them in the code
is there any other way???
14,365
Posted By sreelu
Thank You
Thank You
7,423
Posted By sreelu
Send Email to group ids
hi,

I want to send mail to DL...
i am sending email to single id using mailx .. how to send to group of ids? :confused:
i am using a file which conatins all the ids,
is there any other way to...
14,365
Posted By sreelu
can you please tell me how to use crontab ?
can you please tell me how to use crontab ?
14,365
Posted By sreelu
How to send email once a day at certain time in unix shell script
hi,

i have to send an email once a day at ceratin time say 22.
i have tried with date commad, but not working.:(

HOUROFTHEDAY=`date +'%H'`

if [ $HOUROFTHEDAY = "22" ]; then

mailx...
3,965
Posted By sreelu
check for null
number will be the output..

---------- Post updated at 04:45 AM ---------- Previous update was at 04:43 AM ----------

i have tried the first value in the second line is null or not?
...
3,965
Posted By sreelu
its not working :( i am taking the input from...
its not working :(
i am taking the input from one file and trying to check the second line existence


SWADM=$SWDIR/util/swadm

SERVEREXISTS=`$SWADM show_servers | awk '{print $1}'| head -5 |...
3,965
Posted By sreelu
check for null
i am checking for second line existence,

if second line exists some code has to execute otherwise it has to exit from the loop
Showing results 1 to 25 of 30

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