Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: kiran_j
1,086
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.
...
1,086
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
1,086
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...
7,040
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.
7,040
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]...
1,456
Posted By kiran_j
OS - Linux 5 I am not sure about these commands.
OS - Linux 5
I am not sure about these commands.
1,456
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...
676
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 >...
818
Posted By kiran_j
Hi Rudi, Thanks for the update. command...
Hi Rudi,

Thanks for the update.
command is giving expected output.

Regards,
Kiran
818
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,039
Posted By kiran_j
Thank you very much!!!
Thank you very much!!!
2,039
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]...
38,057
Posted By kiran_j
Ok.thanks
Ok.thanks
38,057
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
...
38,057
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,038
Posted By kiran_j
It works man. Thanks a lot!!!!
It works man.

Thanks a lot!!!!
2,038
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

 

Featured Tech Videos

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