Hello friends
I'm a new guy in writing shell sripts,
so perhaps someone can help me in this.
I'm going to write a script in follwing way:
su - root
cd /usr/local/bin
tp import $ root <--- so by this row I'll get an ask for an input on the display. I'll type in a string there wich should fetch from the input into the shell script and the script should goes on...
> 12345
...so the shell script should import the string and goes on with:
su - root
cd /usr/local/bin
tp import 12345 root
Echo "End of the Programm!"
Thanks a lot!
Best Regards
Oliver
I'm a new guy in writing shell sripts,
so perhaps someone can help me in this.
I'm going to write a script in follwing way:
su - root
cd /usr/local/bin
tp import $ root <--- so by this row I'll get an ask for an input on the display. I'll type in a string there wich should fetch from the input into the shell script and the script should goes on...
> 12345
...so the shell script should import the string and goes on with:
su - root
cd /usr/local/bin
tp import 12345 root
Echo "End of the Programm!"
Thanks a lot!
Best Regards
Oliver