Search Results

Search: Posts Made By: kiran_j
2,703
Posted By kiran_j
Thanks! I got it. Is there another way if we...
Thanks! I got it.

Is there another way if we do not have -n in read option.

I have observed that in linux server -n option is there but on my solaris server with ksh "-n" option is not there.
...
2,703
Posted By kiran_j
Hi RudiC, Does your bash 's read offer the...
Hi RudiC,

Does your bash 's read offer the -n option:

=>Yes, It is there.

Can you guide me on how to make use of it?

Regards,
Kiran
2,703
Posted By kiran_j
Execute function as soon as input is provided in menu drive shell script
Hi All,

I have a menu driven scripts. As you know while running the script we have to input the option such as 1,2, and 3 to execute function accordingly. but after selecting the input we have to...
13,248
Posted By kiran_j
Thanks All. I have modified the script as...
Thanks All. I have modified the script as required. Got the expected results now.
13,248
Posted By kiran_j
Menu Driven Bash Shell Script with Default Option
Hi All,

I have written a menu driven bash shell script.

Current Output is as below:

-------------------------------------
Main Menu
-------------------------------------
[1]...
2,960
Posted By kiran_j
OS - Linux 5 I am not sure about these commands.
OS - Linux 5
I am not sure about these commands.
2,960
Posted By kiran_j
Transfer file from server B to server C and running the script on server A
I have 3 servers A, B, C and server B is having some files in /u01/soa/ directory, these files i want to copy to server C, and i want to run the script from server A.

Script(Server A) --> Files...
932
Posted By kiran_j
Not able to drop single mail transfer for different conditions.
. /apps01/wls01/Oracle/Middleware/user_projects/domains/soadomain/bin/setDomainEnv.sh > /dev/null
cd /apps01/wls01/Oracle/Middleware/wlserver_10.3/common/bin
java weblogic.WLST ServerStatus.py >...
1,139
Posted By kiran_j
Hi Rudi, Thanks for the update. command...
Hi Rudi,

Thanks for the update.
command is giving expected output.

Regards,
Kiran
1,139
Posted By kiran_j
Required help to print diff columns for 2 patterns using awk
Hi All,
I need help for below scenario :

I have a principals.xml_24092012backup file :
cat principals.xml_24092012backup

</user>
<user username="eramire"...
2,363
Posted By kiran_j
Thank you very much!!!
Thank you very much!!!
2,363
Posted By kiran_j
File comparison in shell script
Hi,

I have written one script :


#!/bin/bash

echo -n -e "\nEnter how many files : "
read no

for (( j=1; j<=$no; j++ ))
do
echo -n -e "\nEnter $j File name : "
read name[$j]...
62,388
Posted By kiran_j
Ok.thanks
Ok.thanks
62,388
Posted By kiran_j
Hi, I have written one script : ...
Hi,

I have written one script :


#!/bin/bash

echo -n -e "\nEnter file name : "
read File
Temp=`find /apps12i -name $File`
echo "$Temp"

Output:

Enter file name : abc.log
...
62,388
Posted By kiran_j
How to print last word of line
Hi,

How to print last word of line?


#!/bin/bash

x1="This is Kiran"
echo "$x1"



how to print "Kiran" in new variable.i.e x2=kiran
2,381
Posted By kiran_j
It works man. Thanks a lot!!!!
It works man.

Thanks a lot!!!!
2,381
Posted By kiran_j
Help-send mail script
Hi,

I have written one script for sending mails with attachment.

currently its working for only one recipient.

I want to send mails to n number of users by taking user input i.e number...
Showing results 1 to 17 of 17

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