Give command that will make the file "run.sh"
executable?
Answers were Sorted based on User's Feedback
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 |
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 |
What are grep patterns?
use of ls command
in UNIX,How do you check for processes started by particular user suppose the user name is 'suresh'?
Write a command to display a file’s contents in various formats?
how to find largest file?
14 Answers HCL, Microsoft, Thomson Reuters,
How to identify whether a file is normal file or directory?
How to get the last ten lines of a file using awk utility?
why unix commands can be divided into internal and external commands?
what is the use of the hidden files?
What are the commands in UNIX to list the files in a Directory?
How to get the operating system's information in unix?
What is an Environment Variable?