% print ok
ok
% sudo print ok
sudo: print: command not found
It seems the print are not properly loaded. So what happened and how can I fix it?
% print ok
ok
% sudo print ok
sudo: print: command not found
It seems the print are not properly loaded. So what happened and how can I fix it?
I found the reason should be that sudo command invokes the sh as a default shell to root user, and there is no command called 'print' in sh.