Saturday, May 1, 2010

Run bin files in Linux

Run bin files in Linux

1)Enter the shell (CLI)[Application->accessories->Terminal]
and go to your bin file directory using cd command

cd hint:
cd Desktop/
cd prog/
#cd - will return to upper directory
#cd ~ will return to home directory
#cd D [pressing tab] will complete the rest of file or folder name if existing

2)change the file mode by chmod command:
chmod +x  bin_file_name.bin

3)Execute bin file
./bin_file_name.bin

4)enjoy it!!!

No comments: