$ chmod [options] <permissions> <file>
#Example
$ chmod 755 foo.txt
$ chmod +x quickref.py
$ chmod u-x quickref.py
$ chmod u=rwx,g=rx,o= quickref.sh
#Change files and directories recursively
$ chmod -R 755 my\_directory
The chmod
command stands for "change mode"