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 is the functionality of a top command?
What is the use of sed command in unix?
What is the Unix file system hierarchy?
distinguish between paging and swapping?
Give a regular expression that finds two things, try to come up with regular expressions that find each individually using "egrep" command?
What is "type" command in unix?what is the functionality??
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?
What is the difference between a hard link and a soft link in Unix?
can we use cat command as an editor ..???
Name the unix command to find how many days the server has been up.
By using which command we can find the CPU utilization time?
How do you change file permissions?