Hey guys,
I'd like to ask if someone could provide me a little script?
The script should read the first row of a file.
The row (file) looks something like this:
1752 /tmp/adm/test
if the number >1000
then
su - <user>
command -parameter
else
exit
How I can do?
Thanks a lot!
Kind Regards
Oliver
I'd like to ask if someone could provide me a little script?
The script should read the first row of a file.
The row (file) looks something like this:
1752 /tmp/adm/test
if the number >1000
then
su - <user>
command -parameter
else
exit
How I can do?
Thanks a lot!
Kind Regards
Oliver