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

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

9 Answers   IBM,


What is {} in find command?

0 Answers  


How do you know about running processes of a particular user?

11 Answers  


What does the command ' $who | sort –logfile > newfile' do?

0 Answers  


what is the difference between relative path and absolute path?

7 Answers  






What is command substitution?

0 Answers  


How can you see the command line history?

0 Answers  


what are processor execution levels and priorities?

2 Answers   Infosys,


What is the difference between cat and more command?

0 Answers  


Why is awk called awk?

0 Answers  


Assume that a file’s permissions give you read and write access. What operations can you perform on the file if it is in a directory which has “r”(read) only process? What operations can you perform on the file if it is in a directory which has “x”(execute) only access?

1 Answers  


What is the difference between awk and grep?

0 Answers  


Categories