Suoritettu

Linux Shell Script

Please review the below script and make the necessary corrections:

#!/bin/ksh

LIST=("`id -G`");

echo $LIST

for i in "${LIST[@]}" do

if $i = 1001 then work=-work /app01/data1

elif $i = 1002 then work=-work /app01/data2

elif $i = 1003 then work=-work /app01/data3

else work=-work /app01/data1

done

echo $work

Taidot: Linux, Shell Script, UNIX

Tietoa asiakkaasta:
( 2 arvostelua ) Orlando, United States

Projektin tunnus: #29435547

Myönnetty käyttäjälle:

rabdievsergey

Hello, I am serhii. I am Linux and shell expert, so have rich experience. I can do it. I would like to discuss more details. Thanks

$30 USD 1 päivässä
(1 arvostelu)
1.2