Linux·9 questions

How to give file permissions?

Answer
chmod +x script.sh — execute.
chmod 755 file — rwxr-xr-x.
chown user:group file — owner.
Numbers: 4=read, 2=write, 1=execute.
755 = rwxr-xr-x.
Was this answer helpful?

More questions in this topic

Related questions from other topics