Linux scripts

Folyamatban Kiadva: 2 évvel ezelőtt Kiszállításkor fizetve
Folyamatban Kiszállításkor fizetve

I can use below script to run from root user..

su - db2inst1 -c 'db2start && \

(sh -x [login to view URL] test1 test2 || exit 0)'

But I want to execute above script in 2 steps..

1. su - db2inst1 ( which help to login )

2. need to execute( -c 'db2start && (sh -x [login to view URL] test1 test2 || exit 0) ) after execute 1st command.

Linux Shell script

Projektazonosító: #31053980

A projektről

7 ajánlat Távolról teljesíthető projekt Utoljára aktív: 2 évvel ezelőtt

Odaítélve:

liucoolhao

Hi There I know your scenario exactly. but the best and safety way is using non-root user to run the script. I can help to execute the sub command in the bash with non root user let's have a chat if you need more d Továbbiak

$15 USD 1 napon belül
(1 Visszajelzés)
2.0

7 szabadúszó tett átlagosan 19$ összegű árajánlatot erre a munkára

danilamakarov01

Dear, sir. I am a software engineer. I just read your requirement, and I am ready for you now. Thank you!

$20 USD 7 napon belül
(4 vélemény)
3.5
Omarkthiri0

Hi , I am an expert , I can do this work so perfectly , just let me do it . CONTACT ME PLEASE ! 100% satisfaction guarantee 100% satisfaction priority

$20 USD 1 napon belül
(3 vélemény)
2.2
taskforme01

Dear employer, I do have great experience with Linux scripts I can do this task for you in very well manner kindly text me

$20 USD 1 napon belül
(5 vélemény)
2.3
joshu134

Hi I am a certified Linux systems and Network administrator, i can help with this keeping pricing and time in mind.

$20 USD 1 napon belül
(1 Visszajelzés)
0.5
jittaharikrishn2

I am expertise in shell scripting and having more than 7 years of experience..I hope I can provide 100% best solution to the client

$10 USD 7 napon belül
(0 vélemény)
0.0
Paulojr2

the script will look like this: if su - db2inst1 ; then -c 'db2start && (sh -x test1 test2 || exit 0) else echo "Command failed" fi -------------------------------------------------------------- if I helpe Továbbiak

$30 USD 1 napon belül
(0 vélemény)
0.0