Skip to content

offranking/shell-scripting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 

Repository files navigation

shell-scripting

Linux Shell Scripting (Mini)

Log in to AWS, locate your instance, and connect to your Ubuntu server.

Screenshot 2025-08-28 at 8 03 49 pm

ubuntu server login

Screenshot 2025-08-28 at 8 06 28 pm

On this part you need tp create 3 FOLDER

#!/bin/bash

Create directories

mkdir Folder1 mkdir Folder2 mkdir Folder3

Screenshot 2025-08-28 at 9 16 07 pm

creat a useradd on the 1-3 user

Create users

sudo useradd user1 sudo useradd user2 sudo useradd user3

Screenshot 2025-08-28 at 9 20 05 pm

create a folder of shell-scripting

Screenshot 2025-08-28 at 9 27 41 pm

ls -latr

Screenshot 2025-08-28 at 9 36 34 pm

Run this command to show up the permision denied ./my_first_shell_script.sh

Screenshot 2025-08-28 at 9 49 51 pm

now we need to give the permision to the file called ./my_first_shell_script.sh once the permission is granted the the part on the file will be green color

Screenshot 2025-09-09 at 2 33 14 pm

write command Echo John is going to simply out the name Called John

Screenshot 2025-09-09 at 2 45 55 pm

About

Linux Shell Scripting (Mini)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published