STEP 1: Open a text file, write the below commands and save it as test.sh .
#!/bin/bash
echo "THIS IS MY FIRST SHELL"
STEP 2: Copy it to a folder in your unix machine.
STEP 3 : Navigate to the folder : cd /apps/test/
STEP 4 : Run with command : ./test.sh
STEP 5 : Output : THIS IS MY FIRST SHELL
#!/bin/bash
echo "THIS IS MY FIRST SHELL"
STEP 2: Copy it to a folder in your unix machine.
Add caption |
STEP 3 : Navigate to the folder : cd /apps/test/
STEP 4 : Run with command : ./test.sh
STEP 5 : Output : THIS IS MY FIRST SHELL
No comments:
Post a Comment