Search Results

Search: Posts Made By: oseri
4,646
Posted By oseri
Thanks Chubler, that code is indeed the correct...
Thanks Chubler, that code is indeed the correct way as I just checked


echo "passwd" | su - user -c "nohup ./some_process &"


Although I couldnt check it on the original "some_process" today,...
4,646
Posted By oseri
Some_process isnt short lived. It runs...
Some_process isnt short lived. It runs continuously until user tells it to stop.

The greps are working correctly (the first one displays the process, I've obviously changed the code to be easier...
4,646
Posted By oseri
Keep a script on remote machine running (nohup?)
Hi,

I'm using expect to ssh into remote machine (i know its not the best practice), and run script "script.sh".

This "script.sh" checks whether an other process (some another script) is...
14,104
Posted By oseri
Well, I know about keys, but I really need to...
Well, I know about keys, but I really need to know how to get variables like $pidof work in expect scripts
14,104
Posted By oseri
Expect - assigning UNIX command output to a variable
Hi,

I'm writing a script that connects through ssh (using "expect") and then is supposed to find whether a process on that remote machine is running or not. Here's my code (user, host and password...
Showing results 1 to 5 of 5

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