Making scripts executable (chmod +x)
Në shqip: Bëje skriptin të ekzekutueshëm
ShpjegimiSQ
Një skript i sapo krijuar s'mund të ekzekutohet direkt: „./deploy.sh“ jep „Permission denied“. „chmod +x deploy.sh“ i jep lejen x. „./“ duhet sepse dosja aktuale zakonisht s'është në PATH.
EnglishEN
A freshly created script can't run directly: “./deploy.sh” gives “Permission denied”. “chmod +x deploy.sh” adds the x permission. The “./” is needed because the current folder usually isn't in PATH.
Si ta mendosh
Si t'i japësh një çelësi të ri të drejtën të hapë derën.
Lexoje në anglisht
Like giving a new key permission to open the door.
Shembull kodibash
chmod +x deploy.sh
./deploy.sh