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 does the metacharacter mean?

0 Answers  


What is the difference between awk and grep?

0 Answers  


How can i know my Filesystem and its current usage in my prod UNIX system?

4 Answers   HCL, IBM,


What is the use of sed command in unix?

0 Answers  


Give Command that will move a single file called "unix.txt"

7 Answers   IBM,






What is the behavioural difference between cmp and diff commands?

0 Answers  


What does the md command do?

0 Answers  


What are filter commands in unix?

0 Answers  


How do I find previous commands in unix?

0 Answers  


their is a file1,file2 and i want to append file1 data to file2?

9 Answers   IBM,


how to change a normal file into hidden file

3 Answers  


What is the use of pipes?

4 Answers  


Categories