Modules
🐚
CloudVision
BASH
1 files · 0 vars · 0 files
0 / 12
Create File
🔥 The Shebang
💬 Write a Command
🔒 Permissions
⚡ Execute!
📦 Variables
📨 Arguments
🔄 Command Sub
🔀 if/then
🔁 for loop
🚪 Exit Codes
🔍 Pattern Matching
Create a Script File
A shell script is a plain text file containing commands. Use
touch
to create an empty file. By convention, scripts use the
.sh
extension, though Linux doesn't require it. The file starts empty — no code yet.
⚡
Goal: Create the file script.sh
show hint
touch script.sh
▶ Try it
Next →
bash@cloudvision:~/project
↺
bash@cloudvision:~/project — Bash Scripting Lab ready.
Type commands below or press ▶ Try it to run the phase command.
bash command...
FILE SYSTEM
empty
MEMORY (RAM)
Empty
$?
0
success
Talk with Zia