- 5paisa
- AdSense
- Android
- Asphalt 8 : Airborne Mod Apk 4.9.1b Unlimited Money
- Battlegrounds Mobile India
- Blogger
- Blogging
- Bug Hunting
- cloud storage
- Cmd
- Damn vulnerable Web Application
- Demat Account
- Difference between
- dj alok
- dj alok in free firefree
- Doodle Army 2 : Mini Militia 5.2.0 Apk + Mod for android
- DVMA
- E-books
- earn Bitcoins
- Ethical hacking tutorials
- Express vpn
- EXPRESSVPN PRO APK 7.12.1
- EXPRESVPN CRACKED APK
- fire dj alok
- Freefire
- Gaming
- Google drive
- Google llc
- gplink
- Groww App
- Health
- helo
- helo mela
- helo app
- Helo app earn paytm
- Helo app full guide
- Helo app invite and earn
- Helo app redeem proof
- Helo app refer and earn
- Helo app unlimited trick
- Helo app withdraw proof
- Helo Mela Offer: Get Rs.2 Free Paytm Cash + Win Upto Rs.10000 Paytm Cash
- helo refer and earn
- How to
- How to combine two Wifi Connections to get a faster Internet
- how to get dj alok for free
- how to get free dj alok
- how to get free dj alok in free fire
- How to install DVWA on Kali Linux 2020.2
- How To Use Light Speed WebCache on Your website
- ICICI Direct
- IOS
- kali linux
- Live streaming
- makeup
- meesho
- Money Earning
- My poems
- Netflix
- Netflix mod
- Netflix premium
- News
- online courses
- Pentesting
- programming
- PUBG
- Puffin Browser Pro 8.3.0.41446 (Full) Apk + Mod for Android
- Puzzles
- Recharge offers
- Refer and Earn
- Reviews
- SEO
- shell Scripting
- Shortlink
- Spotify Music 8.5.57.1164 APK Mega Mod Cracked Latest Android
- stylish name
- Technology
- Tips&Tricks
- Township Mod Apk 7.5.0 Unlimited Money
- Udemy
- Udemy courses
- Udemy free
- Udemy premium
- VClip app download link
- VClip app full details
- VClip app invitation link
- VClip app referral code
- VClip app referral link
- VClip app review
- Web designing
- What is
- WINDOWS
- Wishes
- Wordpress
- World Cricket Championship 2 2.8.9 Apk + Mod (Coins/Unlocked)
- Youtube tricks
- zoom app
- zoom bombing
- zoom call
- Zoom safety tips
Variables in shell scripting
Now let's discuss some variables in ShellScripting
Basically variable is a place located in memory . which is used to store your data like strings/texts and numbers in shell scripting.
Where Variable means it's not a permanent value can be changed according to process of the programme .
For example If you installed Candy crush game in your device.At First time you are opening the Score shows 000.After playing level score score might rises to 736.This data will be stored in variables format.
Where variable name should starts with character/without a character .Then the variable becomes valid else it doesn't works.
Where variable name shouldn't starts with number
is valid variable and
Doing a minor mistake in Variables Bash interpreter gives a difference result in shell scripting
using lower case
name="first"
using upper case
NAME="last"
You should not use any blank spaces and Comma's in shell scripting.Then total code fails to work.
Lets Declaring some variables in shell scripting
I hope you may loved this cool post.If you have any doubts post in comment section.
Please check out advertisements on our website which helps us to post more content for you .
Don't forget to share this cool post with all your friends and groupspread. HAVE A GREAT DAY.
what is variable
Basically variable is a place located in memory . which is used to store your data like strings/texts and numbers in shell scripting.
Where Variable means it's not a permanent value can be changed according to process of the programme .
For example If you installed Candy crush game in your device.At First time you are opening the Score shows 000.After playing level score score might rises to 736.This data will be stored in variables format.
Rules to Create Variables in Shell Scripting
Where variable name should starts with character/without a character .Then the variable becomes valid else it doesn't works._name="my name is kumar"or like below one variable works fine
name="my name is abc"
Where variable name shouldn't starts with number
Name1=" My name is kumar"
is valid variable and
1name="My name is kumar"is an invalid variable.
Doing a minor mistake in Variables Bash interpreter gives a difference result in shell scripting
using lower case
name="first"
using upper case
NAME="last"
You should not use any blank spaces and Comma's in shell scripting.Then total code fails to work.
Lets Declaring some variables in shell scripting
hello="hello viewers"
it means the variable hello is holding the string "hello viewers "
conclusion
I hope you may loved this cool post.If you have any doubts post in comment section.
Please check out advertisements on our website which helps us to post more content for you .
Don't forget to share this cool post with all your friends and groupspread. HAVE A GREAT DAY.
Also Read
KUMAR JEERU
. I am a Programmer and Pentester. I find and Fix loophole in websites and networks. Connect with me for queries , web developemnt , Scanning and Fixing website Security issues. My company gives special discount for independent entrepreneur , small and Medium size companies. Contact me directly on my face page
Post a Comment
Post a Comment