Skip to content

adeolav/Bash_Scripting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Feb 7, 2023
317932a · Feb 7, 2023

History

4 Commits
Feb 7, 2023
Feb 7, 2023
Feb 7, 2023
Feb 7, 2023
Feb 7, 2023
Feb 7, 2023
Feb 7, 2023
Feb 7, 2023
Feb 7, 2023
Feb 7, 2023
Feb 7, 2023
Feb 7, 2023
Feb 7, 2023
Feb 7, 2023
Feb 7, 2023
Feb 7, 2023
Feb 7, 2023
Feb 7, 2023
Feb 7, 2023
Feb 7, 2023
Feb 7, 2023
Feb 7, 2023
Feb 7, 2023
Feb 7, 2023
Feb 7, 2023
Feb 7, 2023
Feb 7, 2023
Feb 7, 2023
Feb 7, 2023

Repository files navigation

BASH: linux scripting

Environment

  • Ubuntu 22.04 LTS
  • VIM
  • shellcheck
  • BASH

How to run the .sh files

  • bash file.sh -Example: bash 001-hello.sh

  • Or change permision and indicates the file is not in the path

  • Bring execution permission chmod 755 file.sh

  • Execute the file ./file.sh

Exit code

  • To display the exit code after execute a script
  • echo $? return the last return value to the system