Search Results

Search: Posts Made By: DarkSwiss
22,664
Posted By DarkSwiss
echo $FILENAME |sed 's/\(.*\)..../\1/'
echo $FILENAME |sed 's/\(.*\)..../\1/'
6,835
Posted By DarkSwiss
Thx for ur answer Can u explain me what the...
Thx for ur answer

Can u explain me what the command really does?

i splitted up the sub-script into 2 sub-script by reason that the script will be executed faster.
does your command meet that...
6,835
Posted By DarkSwiss
Execute 2 Commands at the same time
Hi @all

I have got the following problem:

I want my Master-Script to execute 2 Sub-scripts at the same time.
How can i realize that?

Thx for your help

Greez Roger
18,404
Posted By DarkSwiss
ow... that easy..^^ Thank you! It works!
ow... that easy..^^

Thank you! It works!
18,404
Posted By DarkSwiss
Send Remote Commands via SSH with variables
Hi there

I found the Command to send commands to other servers like:
sv01> ssh user@sv02 'ps -ef'
But I cant use Variables from a script i want to execute on another server like:
sv01> ssh...
3,988
Posted By DarkSwiss
Hey hergp! I have chosen the second...
Hey hergp!

I have chosen the second solution. It seems to work correctly =D
Thank you for your help!

Who can mark this theard as resolved? or isnt it necessary?

Greez Roger
3,988
Posted By DarkSwiss
Hi hergp! Thank you for your help! The...
Hi hergp!

Thank you for your help!
The script works, if i start the script while the script is running, there is the right message "script is running". But if i start it a second time, the...
3,988
Posted By DarkSwiss
Hi alister thank you for the information. ...
Hi alister

thank you for the information.
is there no way to guarantee that nobody starts the script while it is running?
its a cloning script for databases, so it must not be startet twice....
3,988
Posted By DarkSwiss
Thank u all! Sounds good! I'll try it! ...
Thank u all! Sounds good!
I'll try it!

Greez Roger

---------- Post updated at 02:40 PM ---------- Previous update was at 02:17 PM ----------



Are you sure that youre code is right?...
3,988
Posted By DarkSwiss
Script executable only for one person at same time
Hi

My question:
Is there a way to lock a script if its already running for other users?

Like if i want to start a script, that is running by another user, there will be a message: Hey, you...
Showing results 1 to 10 of 10

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