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 the different commands used to view the contents of a file?
How do you remove a directory?
What is pid?
What is file system in unix??
Using unix command how to display no of records in oracle?
what does a process mean?
When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system. How can i findthe right soluion??? My pgm: #include<stdlib.h> # include <stdio.h> int main() { int pid; pid=fork(); if(pid < 0) {exit(-1);} else if(pid==0) { printf("Child Process is Sleeping ..."); sleep(10); printf("Orphan Child's Parent ID : %u ",getppid()); } else { printf("Parent Process Completed ... %u ",getpid()); exit(0); } return 0; } Output:
How does the user view the contents of a text file in UNIX?
What does sed command do in unix?
how to delete entire records in unix ?
what is the difference between commmands cmp and diff?
what is telnet?