Skip to content

Stillchamp/shell-scripting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 

Repository files navigation

Screen Shot 2025-08-26 at 11 41 01 PM# shell-scripting

connected to my ubuntu server

Screen Shot 2025-08-26 at 11 27 40 PM # created a folder using mkdir Screen Shot 2025-08-26 at 11 27 40 PM # then cd into the folder created Screen Shot 2025-08-26 at 11 41 01 PM # using vm created a file and made edit using insert (i) Screen Shot 2025-08-26 at 11 41 01 PM # after i saved the file created by pressing esc and :wq Screen Shot 2025-08-26 at 11 41 01 PM # use of shebang to tells the shell what interpreter to use to run the script. Screen Shot 2025-08-27 at 12 45 52 AM

use of ls -latr to confirm if the file is created

Screen Shot 2025-08-26 at 11 41 01 PM # add the execute permission for the owner to be able to excute shell script using chmod u+x Screen Shot 2025-08-27 at 12 10 14 AM # run the shell scripts got error because of shebang #! Screen Shot 2025-08-27 at 12 10 14 AM # use of ls to see the file created Screen Shot 2025-08-27 at 12 10 14 AM # use of vm to edit the file my_first_shell_script.sh Screen Shot 2025-08-27 at 12 31 04 AM # ran ./my_first_shell_script.sh Screen Shot 2025-08-27 at 12 37 28 AM # use of ls to view the created Screen Shot 2025-08-27 at 12 36 42 AM

use of id

Screen Shot 2025-08-27 at 12 36 42 AM # variable declaration # assign a varable using ="" Screen Shot 2025-08-27 at 12 07 01 AM

comments

connected to my ubuntu server

Screen Shot 2025-08-27 at 12 23 29 AM # use of comments a single-line comments Screen Shot 2025-08-27 at 12 23 32 AM # use of muiltple single-line comments Screen Shot 2025-08-27 at 12 23 32 AM

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published