run a file under Linux
Posted on 2009-03-31
I tried to run a file but without any success.
File name: cim_matbuch_neu.sh
I enter this: ./su -user_nsd -c "/usr2/stamm/start_app/cim_matbuch_neu.sh"
and received the error message ./su not found
My colleague told me to enter: su - user_nsd -c "/usr2/stamm/start_app/cim_matbuch_neu.sh "
He said that it will work that way but I don't understand how can it work without ./ (dot slash)?
I didn't try it because I won't mess up things here in the company.