Loading, please wait...

A to Z Full Forms and Acronyms

How to create and print the value of variables in Linux Shell Script | Linus Shell Script

Jun 24, 2021 LinuxShellScript, 495 Views
How to create and print the value of variables in Linux Shell Script | Linus Shell Script

How to create and print the value of variables in Linux Shell Script | Linus Shell Script

We will create a shell script program to create two variables and then print the values of variables on the console screen.

#!/bin/bash


country="India"
year=2022

echo "Country name: $country"
echo "Year: $year"
A to Z Full Forms and Acronyms