make_a_file_executable
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| make_a_file_executable [2016/07/25 17:56] – walkeradmin | make_a_file_executable [2017/01/29 17:58] (current) – walkeradmin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Make a file Executable ====== | ====== Make a file Executable ====== | ||
| + | <color darkorange> | ||
| + | |||
| + | ---- | ||
| + | |||
| \\ | \\ | ||
| Unlike Windows, Linux does not have files that are executable, all files can have this attribute. So for example, I have a python file that is just a text file, and I will to be able to run this from the command line, If I look at the file using ls -al: | Unlike Windows, Linux does not have files that are executable, all files can have this attribute. So for example, I have a python file that is just a text file, and I will to be able to run this from the command line, If I look at the file using ls -al: | ||
| Line 31: | Line 35: | ||
| \\ | \\ | ||
| " | " | ||
| - | \\ | ||
| \\ | \\ | ||
| Now we can execute this file (assuming it contains something valid that is executable) | Now we can execute this file (assuming it contains something valid that is executable) | ||
make_a_file_executable.1469469383.txt.gz · Last modified: (external edit)
