Bash Shell Scripting for Beginners - 07: How to Pass Arguments in Bash script

Опубликовано: 30 Сентябрь 2024
на канале: A Computer Guru
101
2

Welcome To Mastering Bash Shell Scripting Course.

In this video i will be covering the following basic script:
-----------------------------------------------------------------------------------------------------
#!/bin/bash

NAME=$1
CITY=$2

echo "$NAME lives in $CITY!"

echo "$1 lives in $2!"
-----------------------------------------------------------------------------------------------------
#shellscripting #bashscripting #acomputerguru #linux_tutorial #linuxadministration #linux #ubuntu