Search Results

Search: Posts Made By: a12ka4
1,927
Posted By a12ka4
#!/bin/sh script="path of child script" ...
#!/bin/sh

script="path of child script"

read -p "Enter the server name or ip to check:" server
export server

scp $script root@$server:/home/.

ssh root@$server "/home/childscript.sh"

I...
1,927
Posted By a12ka4
The permissions are correct
The permissions are correct
1,927
Posted By a12ka4
Getting parameters
Hi,

I have 2 scripts one master.sh and child.sh. The master runs on a separate server and pushes the child script to the desginated server and runs it.The child script configures the designated...
128,080
Posted By a12ka4
Hi, With your suggestions i created the...
Hi,

With your suggestions i created the below script but the output email just has tags not the table view. Please help..
#!/bin/bash

echo 'Content-Type: text/html; charset="us-ascii" ' >>...
128,080
Posted By a12ka4
Hi sk1418, Thanks for your suggestion. ...
Hi sk1418,

Thanks for your suggestion.

Is there a way to get the input directly from the txt file instead of coding it.
128,080
Posted By a12ka4
Convert shell script output txt file to html table
Hi,

I have script which generates the output as below:

Jobname Date Time Status
abc 12/9/11 17:00 Completed
xyz 13/9/11 21:00 Running
...
4,362
Posted By a12ka4
Monitor dynamic log file for a particular Error
Hi Folks,

I need help in creating a script to monitor a continuously updating log for one particular error. If the the script finds the error it should send out an email.

Thanks for all ur help
1,522
Posted By a12ka4
Hi isubodh, The command u gave is thowing an...
Hi isubodh,

The command u gave is thowing an error

awk: {print $1":"$2 " substr($3,2)}
awk: ^ unterminated string
1,522
Posted By a12ka4
Hi, I missed one thing i need to replace...
Hi,

I missed one thing i need to replace only the ":00" in the seconds column alone

Thanks
1,522
Posted By a12ka4
Help needed in scripting
Hi Guys,

I need help in scripting out the below :

this is a sample data i have in my file:

jobname type 8:00:00 AM

I need to remove the ":00" from the time field alone.

Thanks in...
Showing results 1 to 10 of 10

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