How do I run a script in linux?



How do I run a script in linux?..

Answer / Anuj Baliyan

To run a script in Linux, first make sure it has the correct execution permissions. You can add executable permissions by using 'chmod +x scriptname'. Then, simply type './scriptname' in the terminal to execute the script.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Linux Commands Interview Questions

What is $@ in makefile?

1 Answers  


What do you mean by directory?

1 Answers  


how do you port scaning with netcat command?

1 Answers   Qseap Technologies, Wipro,


What does execute mean in linux?

1 Answers  


in redhat Linux wat is the command to check at ahich date and time file was created?

16 Answers  


What is the status code 403,404 represented in apache server?

2 Answers  


Explain trap command of linux?

1 Answers  


Which command is used to delete a group?

1 Answers  


You want to know how many lines in the kickoff file contains ‘prize’. Which of the following commands will produce the desired results?

1 Answers  


What is the difference between command ‘ping’ and ‘ping6’?

1 Answers  


What is the makefile in c?

1 Answers  


hi friends how to reinstall the grub.conf file. once i delete the grub file in perminatle ofter how to get back that file. plz send me ans. regards. madhu.m

5 Answers  


Categories