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

How can we "forked" process in UNIX? How then recognize in any of the branches we?

2 Answers   NIIT,


How to add content of one file into another file at the beginning

12 Answers  


What does the “echo” command do?

0 Answers  


What will the following command do?

0 Answers  


What is nr in awk command?

0 Answers  


What is the functions of zambie process?

3 Answers  


what is the use of wild cards?

2 Answers  


distinguish between user mode and kernel mode?

6 Answers   Infosys,


How to remove a crontab file?

2 Answers  


What is the difference between AWK and SED commands? Plz give example and explain...

3 Answers   RBS,


what is the difference between SED and GREP ? Which one is more better and why?

4 Answers   IBM,


How to identify whether a file is normal file or directory?

3 Answers  


Categories