Linux UNIX Shell Command To Make Creat File Executable
RegisterLogin
Linux UNIX Shell Command To Make Creat File Executable
Post Description: Linux UNIX Shell Command To Make Creat File Executable
Tags: Linux, UNIX, Shell, Command, To, Make, Creat, File, Executable
This Post Was Posted On Feb 29, 2008 By unix #797
Post Description: Linux UNIX Shell Command To Make Creat File Executable
Tags: Linux, UNIX, Shell, Command, To, Make, Creat, File, Executable
This Post Was Posted On Feb 29, 2008 By unix #797
Linux UNIX Shell Command To Make Creat File Executable by unix
(in my example below, i will be making my file named: script_file executable)
To make my file script_file executable, the first step is to check what permission it has. Type this command to see the permissions:
Code:
ls -l
Now change the permission to make it executable:
Code:
chmod +x script_file
Check again to see the new permissions:
Code:
ls -l
To run the file, enter this command:
Code:
./script_file
DONE
Leave Your Comments
Related Pages: [Add Your Website]
Post New Topic
©2011 Webune Forums - Tue Dec 20, 2011 5:06 pm
Powered by: Webune Forums V3
Powered by: Webune Forums V3