New to Linux or Ubuntu and wondering how to execute .sh files (also known as shell scripts) from the terminal? You’re in the right place! This beginner-friendly tutorial walks you through every step—from creating a simple .sh script to making it executable and running it like a pro. 🧑💻
🔑 What You’ll Learn in This Video:
How to open the terminal in Ubuntu 🔓
How to create a basic .sh script using nano
How to write and save a shell script with #!/bin/bash
The command to make a script executable using chmod
How to run the script and see the output in the terminal 💬
Tips to avoid common errors beginners face
⏱️ Timestamps – Jump to What You Need:
00:00 – Introduction: Why shell scripts matter
00:13 – How to open the terminal
00:19 – Creating a test .sh file with nano
00:32 – Writing and saving the shell script
00:52 – Making the script executable with chmod +x
01:08 – Running the .sh script with ./
💡 Why Watch This Video?
Get comfortable working with the Linux command line
Understand how scripts automate tasks in Ubuntu
Build skills for future devops, sysadmin, or programming roles
Learn by doing — no previous experience required!
Perfect for students, coders, or curious learners 🔍
📚 Extra Learning Resources:
✅ Ubuntu Playlist – • Ubuntu
👍 If this video helped you:
✅ Like the video to support the channel
📤 Share it with your classmates or tech friends
🔔 Subscribe for more beginner-friendly Linux tutorials
💬 Drop a comment if you want help with other commands!
Thanks for watching – happy scripting! 📝🐧
#linux #shellscript #ubuntu #bashscript #terminal #shscript #runshfile #linuxcommands #ubuntubeginner #chmod #bash #ubuntututorial #linuxbasics #commandline #devops #learnlinux #scripting #linuxforbeginners #dotshfile #ubuntucli