Give command that will make the file "run.sh"
executable?

Answers were Sorted based on User's Feedback



Give command that will make the file "run.sh" executable?..

Answer / jaga

chmod 755 run.sh
./run.sh

Is This Answer Correct ?    14 Yes 5 No

Give command that will make the file "run.sh" executable?..

Answer / abhishek dilliwal

chmod +x run.sh

Is This Answer Correct ?    9 Yes 2 No

Give command that will make the file "run.sh" executable?..

Answer / pritesh_8

chmod u+x run.sh
./run.sh

Is This Answer Correct ?    4 Yes 0 No

Give command that will make the file "run.sh" executable?..

Answer / aseem

If we have to make file executable then we have to use chmod
command. Sh can help in execution but it will not change
file as executable

Is This Answer Correct ?    2 Yes 0 No

Give command that will make the file "run.sh" executable?..

Answer / puja

chmod 777 run.sh
./run.sh

Is This Answer Correct ?    2 Yes 0 No

Give command that will make the file "run.sh" executable?..

Answer / ghanshyam baboo

chmod +x run.sh ; ./!$

Is This Answer Correct ?    2 Yes 0 No

Give command that will make the file "run.sh" executable?..

Answer / khemnath chauhan

sh run.sh

Is This Answer Correct ?    6 Yes 5 No

Give command that will make the file "run.sh" executable?..

Answer / dhina

bash run.sh

or

login as a root and type sh run.sh

or

give the permission to run.sh with chmod 755 run.sh and
type ./run.sh

Is This Answer Correct ?    2 Yes 1 No

Give command that will make the file "run.sh" executable?..

Answer / yuvaevergreen

chmod 755 to make executable

Is This Answer Correct ?    1 Yes 0 No

Give command that will make the file "run.sh" executable?..

Answer / sumesh

sh ./run.sh

Is This Answer Correct ?    4 Yes 8 No

Post New Answer

More Unix Commands Interview Questions

What is nr in awk command?

0 Answers  


How do you find which version and name of unix you are using at the command prompt?

7 Answers  


How i'll delete a particular line from the file? Please give answer as soon as possible. Thanks in advance.

12 Answers   IBM,


what are the different commands used to view the contents of a file?

5 Answers  


what do you understand by 'unix is a portable os'?

3 Answers   Infosys,






What does the command '$ls | wc –l > file1' do?

0 Answers  


What is unix command?

0 Answers  


distinguish between user mode and kernel mode?

6 Answers   Infosys,


What is the protocol for PING command?

1 Answers   IBM,


what is the difference between npar and vpar in HP-UX?

1 Answers   CSC,


How does the system know where one command ends and another begins?

0 Answers  


What is the general format of unix command syntax?

0 Answers  


Categories