Single Post

Header

Sunday, September 6, 2015

How to execute/run .sh or .bin or .run file in Linux/Unix

How to execute/run .sh or .bin or .run file in Linux/Unix

1.Give Execute permissions to .sh or .bin or .run  file
2.Execute the below command

 chmod +x jdk-6u35-linux-x64.bin      (bin file)
  ./jdk-6u35-linux-x64.bin

 chmod +x install.sh     (sh file)
 ./install.sh

 chmod +x  postgresql-9.2.1-1-linux-x64.run      (run file)
 ./postgresql-9.2.1-1-linux-x64.run

No comments:

Post a Comment