0% found this document useful (0 votes)
25 views

How To Make A File Executable in Ubuntu

Two ways to make a file executable: using terminal or using Graphical Interface. If you don't want the file in your home directory, type "touch newfile.txt" to create the file in the etc directory.

Uploaded by

Erick Barrera
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views

How To Make A File Executable in Ubuntu

Two ways to make a file executable: using terminal or using Graphical Interface. If you don't want the file in your home directory, type "touch newfile.txt" to create the file in the etc directory.

Uploaded by

Erick Barrera
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

How To Make A File Executable in Ubuntu

Posted on August 4, 2008 by Quyen Nguyen

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.

Select the Permission tab.

3.

Check Allow executing file as program.

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

Type "exit" to close the terminal session.


Sponsored Links

Send Big Files & FoldersShareFile.com/Send-Folders


Send & Share Big Folders Instantly. Secure, Fast, & Easy. (Free Trial)

DYC Printing Blanketswww.d-y-c.com/


Quality Printing Blankets. Used for all Printing Applications. Call Us!

Full Linux Laptop Supportwww.EmperorLinux.com


We support: Wireless, EVDO, USB, Firewire, ACPI hibernate, BlueTooth

File System Reliabilitywww.datalight.com/products


Datalight Reliance 100% Fail Safe Filesytem for Embedded Devices

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

You might also like