Question d’entretien chez Yahoo Japan

How do you chmod a file to be executable if the chmod command itself isn't executable?

Réponse à la question d'entretien

Utilisateur anonyme

8 avr. 2010

Pipe the contents of chmod into an already executable file cp /usr/bin/executable_file ~/executable_file cat /usr/bin/chmod > ~/executable_file ~/executable_file +x file_to_be_executed.sh