Results 1 to 6 of 6
Enjoy an ad free experience by logging in. Not a member yet? Register.
Bash programming beginner.showing"permission denied"
echo "hello world"
It works properly.But I did the same in 'vi editor' and saved as 'hello'. I typed:
Then an error messege shows:
Can I fix the problem?
Change the file permissions to chmod 700
chmod 700 Hello ./Hello
It worked. Thanks!!
Very thankyou. But I have a doubt that what is 'chmod 700' mean?
chmod 700 means..
4 is for read permission
2 is for write permission
1 is for execute permission
you had given execute permission for the user for that file by that command.
chmod - Wikipedia, the free encyclopedia
above URL explains the chmod and its options better.