Command to run (execute) bin files in Linux
Q. I have downloaded a file from internet that ends with .bin extension. Documentation says just run bin file. What command I need to type in order to run bin files in Linux.
A. .bin files are Linux self extracting binary files. For example Java or Flash are two examples of these types of file. Just type following two commands to run .bin files:
Run .bin file in Linux / UNIX
Change the permission of the file you downloaded to be executable. Type the following command:
$ chmod +x file.bin
Start the installation process or run .bin file.Type the following command:
./file.bin
For example if .bin file name is application.bin. Type:
$ chmod +x application.bin
$ ./application.bin
Another example for Java Linux self extracting binary file:
# chmod +x jre-1_5_0-linux-i586.bin
# ./jre-1_5_0-linux-i586.bin
Subscribe to our free e-mail newsletter or RSS feed to get all updates.
You can Email this page to a friend.
Related Other Helpful FAQs:
- How Linux file permissions work
- UNIX Find A File Command
- Linux / UNIX Setup and run php script as a cron job
- Exclude certain files when creating a tarball using tar command
- How do I make a Linux or FreeBSD file an executable file?
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!
Tags: binary_files, bin_extension, bin_file, chmod_command, executable, run_.bin_files_in_linux



Recent Comments
Today ~ 32 Comments
Yesterday ~ 1 Comment
Yesterday ~ 3 Comments
Yesterday ~ 2 Comments
Yesterday ~ 3 Comments