Answers for "how to .run ubuntu"

5

.run files in ubuntu

#Assume the file is called some-app.run and is in the folder /home/user/Downloads. You will need to modify these instructions to fit your situation.

#1:
cd /home/user/Downloads

#2:
chmod +x some-app.run

#3:
./some-app.run

#if step 3 fails with a message including 'permission denied', try entering sudo ./some-app.run (you will need to enter your password for this).
Posted by: Guest on April-18-2021
0

can i run script in ubuntu using java

String[] cmd = { "sh", "MyFile.sh", "\pathOfTheFile"};
    Runtime.getRuntime().exec(cmd);
Posted by: Guest on August-27-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language