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 |
their is a file1,file2 and i want to append file1 data to file2?
What is {} in find command?
How do you know about running processes of a particular user?
What does the command ' $who | sort –logfile > newfile' do?
what is the difference between relative path and absolute path?
What is command substitution?
How can you see the command line history?
what are processor execution levels and priorities?
What is the difference between cat and more command?
Why is awk called awk?
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 awk and grep?