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 are grep patterns?

0 Answers  


use of ls command

9 Answers  


in UNIX,How do you check for processes started by particular user suppose the user name is 'suresh'?

6 Answers  


Write a command to display a file’s contents in various formats?

0 Answers  


how to find largest file?

14 Answers   HCL, Microsoft, Thomson Reuters,


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

3 Answers  


How to get the last ten lines of a file using awk utility?

1 Answers   Infosys,


why unix commands can be divided into internal and external commands?

3 Answers   Informatica,


what is the use of the hidden files?

3 Answers  


What are the commands in UNIX to list the files in a Directory?

0 Answers   CGI,


How to get the operating system's information in unix?

6 Answers   IBM, TCS,


What is an Environment Variable?

4 Answers   CTS,


Categories