🔐
📜

Make Shell Scripts Executable

Get the chmod command to make a script runnable while keeping it secure.

Нэвтрэх шаардлагагүй
ReadWriteExecuteValue
owner7
group5
other5
Octal (editable)
rwxr-xr-x
Symbolic
Command
$ chmod 755 filename

Common presets

Scripts tips

📜

To run a script directly (./script.sh), it needs the execute bit. 755 makes it executable by everyone; 700 keeps it private to you.

💡

For scripts in a shared bin directory, 755 is standard. For personal scripts with sensitive logic, use 700.

🎯

After making it executable, verify with the symbolic output here — you want an "x" in the owner triad at minimum.

Хэрхэн ажилладаг

1
Оруулах
Enter your data into the tool above. Everything stays local to your browser.
2
Боловсруулах
The tool processes your data instantly in your browser using JavaScript. No server, no waiting.
3
Татаж авах
Get your result instantly. Nothing is stored after you leave the page — complete privacy.

Яагаад манайхыг ашиглах вэ?

Бүрэн үнэгүй — хэзээ ч далд зардалгүй
Бүртгэл, и-мэйл, эсвэл нэвтрэх шаардлагагүй
Файлууд таны төхөөрөмжөөс хэзээ ч гардаггүй
Файлын хэмжээний ямар ч хязгаарлалтгүй
Ямар ч гаралт дээр усан тэмдэггүй

Also check out…

Түгээмэл асуултууд