How To Make A File Executable in Ubuntu
How To Make A File Executable in Ubuntu
Sometimes you need to make several different file types excutable to install applications. Those file types include .sh and .bin. I had seperate tutorials on how to deal with .bin and .sh files type. There are two ways to make a file executable: using terminal or using graphical interface.
Terminal
1. 2. Open Terminal: Ctrl+Shift+T or Applications -> Accessories -> Terminal Make file excutable
sudo chmod +x filename.bin Replace your files name into filename 3. Enter your password. The file is now executable.
Graphical Interface
1. Right Click on the file and select Properties.
2.
3.
4.
Your file will have a different icon and now become executable. Note: Double click on the file does not nescessarily execute the file. You may have to use terminal.
Instructions
1. o
Type the command "touch newfile.txt" at the terminal prompt to create an empty new file called newfile.txt. If you don't want the file in your home directory, you must provide the exact path to the file. For example, type "touch /etc/newfile.txt" to create the file in the etc directory.
o
Type the command "ls -la" to verify that the file has been created.
o
Read more: How to Create a New File in Ubuntu Terminal | eHow.com http://www.ehow.com/how_5804442_create-new-file-ubuntu-terminal.html#ixzz239OXJyCv