Linux scripts

En curso Publicado hace 2 años Pagado a la entrega
En curso Pagado a la entrega

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

Nº del proyecto: #31053980

Sobre el proyecto

7 propuestas Proyecto remoto Activo hace 2 años

Adjudicado a:

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 Más

$15 USD en 1 día
(1 comentario)
2.0

7 freelancers están ofertando un promedio de $19 por este trabajo

danilamakarov01

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

$20 USD en 7 días
(4 comentarios)
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 en 1 día
(3 comentarios)
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 en 1 día
(5 comentarios)
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 en 1 día
(1 comentario)
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 en 7 días
(0 comentarios)
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 Más

$30 USD en 1 día
(0 comentarios)
0.0