Skip to content
zero2vibecodelearn vibe coding

What chmod +x does

Make a file executable so you can run it like a program.

chmod+xscript.sh
  • chmodcommand — change who may read, write or run a file
  • +xargument: a file, a folder, or text
  • script.shargument: a file, a folder, or text

What it does when you run it

$ chmod +x script.sh
$ ./script.sh
hi

Run it yourself

The same files. Nothing here can break, and nothing leaves your browser.

Explain other commands

Written by Mikhail Kuzmitskii