Search Results

Search: Posts Made By: Balamani
3,230
Posted By Balamani
Req the mail send from unix script
Hi ,


I want to send mail in my script when i am not a super user.


Can some one help me on that ..

Regards,
Balamani
52,965
Posted By Balamani
Hi, I am able to get the IP of my server...
Hi,

I am able to get the IP of my server from command prompt, but when i put the same in my script its give the output has hostname.


#!/usr/bin/bash
SERVER_IP=`grep -w `hostname` /etc/hosts...
52,965
Posted By Balamani
Thanks
Thanks
6,585
Posted By Balamani
Help needed in switch case handling in UNIX
Hi,

In below code, i am expecting the output has
Bye
Bye

But i am getting has
Bye
Hi

Code:
#!/usr/bin/bash

var="Hi"
cat txt.txt | while read var1
do

next="Bye"
case...
52,965
Posted By Balamani
Getting the IP address in unix server
Hi,

I want to know the IP of my Unix server in my script programming.

Below are the my trial and i didn't find anything useful for me.because i want only IP.

hostname -> Giving the name...
Showing results 1 to 5 of 5

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