Quote:
Originally Posted by bsaheb
Not able to execute the history command.
Please find the error message.
[s9:~]cat a.sh
ls
history
[s9:~]sh a.sh
a.sh logs
bin classes
conf jre
lib local.cshrc
local.login local.profile
a.sh: history: not found
[s9:~]
|
hi,
give the permission to the script..
chmod 755 a.sh or chmod 777 a.sh
then execute, you will get the output
regards,
senthil.P