Anonymous Asked in Cars &Transportation · 2 weeks ago

How do I run a shell script from terminal?

Contents
Steps to write and execute a script Open the terminal. Go to the directory where you want to create your script. Create a file with . sh extension. Write the script in the file using an editor. Make the script executable with command chmod +x . Run the script using ./.


Related Questions

Relevance
Write us your question, the answer will be received in 24 hours