What is necessary before running a shell script from the terminal?



What is necessary before running a shell script from the terminal?..

Answer / Rahul Harshawardhan

Before running a shell script from the terminal, you must make sure it has execute permissions. You can set execute permissions using the chmod command. For example: `chmod +x filename`

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Unix General Interview Questions

Difference between the fork() and vfork() system call?

1 Answers  


How do I find my unix os version?

1 Answers  


What is meant by the term super user?

1 Answers  


Is ios based on unix?

1 Answers  


command to display different lines that are found when compare two files?

2 Answers   HP,


What are internal and external commands in unix?

1 Answers  


Explain Sticky bit?

1 Answers  


What is unix and why is it important?

1 Answers  


A process is running for 1000 times.How to kill all processes except one i.e kill 999 processes?

1 Answers   Subex,


What are the entities that are swapped out of the main memory while swapping the process out of the main memory?

1 Answers  


Is used to create ordinary files on any unix system?

1 Answers  


Explain file system in unix.

1 Answers  


Categories