Bash Shell Scripting Tutorial 8 - Quotes

Опубликовано: 11 Октябрь 2024
на канале: tanzTalks.tech
158
9

Please hit 👍Like Button and Subscribe to the channel to Support me 🙏

Bash Shell Scripting Tutorial:    • Bash Shell Scripting Tutorial  
Topics Covered:
1. Introduction
2. Bash Scripting
3. Linux Filesystem and File Permissions
4. Absolute vs Relative Path
5. Hello World! Bash Script
6. Echo Command
7. Comments
8. Quotes
9. Variables
10. Command Substitution
11. Command Line Arguments
12. Read User Input

Quotes in Bash
When we want variables to store more complex values, we need to make use of quotes. Quotes are used to handle texts and filenames with a space character. It is because Bash uses a space to determine separate items.

When we enclose our contents in quotes, we are indicating to Bash that the content within the quotes should be considered as a single item.

Quote with String
While working with simple texts and string, there will be no difference either we use a single quote or double quote.

Quote with Variable
It should be noted that the shell variable expansion will only work with double-quotes. If you define any variable in single quotes, then it will not be considered as a variable.

Bash (Bourne Again Shell) is a command line interpreter that typically runs in a text window where user can interpret commands to carry out various actions. The combination of these commands as a series within a file is known as a Shell Script. Bash can read and execute the commands from a Shell Script.

Install Vim (Vi Improved) Text Editor on Ubuntu:    • How to Install Vim (Vi Improved) Text...  

Install Ubuntu on Windows 11 (WSL) | Windows Subsystem for Linux with GUI Support:    • How to Install Ubuntu on Windows 11 (...  

Join this channel to get access to various perks:
   / @tanztalkstech  

Follow Me on Facebook: https://fb.me/tanzTalks.tech
Instagram:   / tanzeelosama  

More Tutorials on Ubuntu:    • Ubuntu Linux Tutorials  

----------

More Tutorials for Windows 11:    • Windows Tutorials  

Install Java JDK 19 on Windows 11:    • How to Install Java JDK 19 on Windows...  

----------

More Tutorials for VMWare Player:    • VMware Workstation Tutorials  

Install Microsoft Windows 11 on VMware Player:    • How to Install Microsoft Windows 11 o...  

Install macOS 12 Monterey on VMware Player:    • How to Install macOS 12 Monterey🔥on V...  

Install macOS 13 Ventura on VMware Player:    • How to Install macOS 13 Ventura in VM...  
Make macOS 13 Ventura Full Screen:    • How to Make macOS 13 Ventura Full Scr...  

Install Ubuntu 22.04 LTS on VMware Player:    • How to Install Ubuntu 22.04 LTS on VM...  
Create Manual Snapshot in VMware Player:    • How to Create Manual Snapshot in VMwa...  

----------

More Tutorials on macOS:    • macOS Tutorials  

Download and Install NodeJS, HomeBrew (Package Manager) and N (Version Manager) on macOS:    • How to Install NodeJS using HomeBrew ...  

Install Oracle Java JDK and OpenJDK on macOS 13 Ventura:    • How to Install Java JDK and OpenJDK o...  

----------

VirtualBox playlist:    • VirtualBox Tutorial  

Install Ubuntu 22.04 LTS in Oracle VirtualBox running on Windows 11:    • How to Install Ubuntu 22.04 LTS on Vi...  

Install macOS Monterey in Oracle VirtualBox running on Windows 11:    • How to Install Apple macOS 12 Montere...  

Make Ubuntu Full Screen in Oracle VirtualBox on Windows 11:    • How to Make Ubuntu Full Screen in Vir...  

Install VirtualBox Guest Additions on Ubuntu 22.04 Guest/Virtual Machine:    • How to Install VirtualBox Guest Addit...  

Install Oracle Java (JDK) On Ubuntu 22.04 LTS:    • How To Install Oracle Java (JDK) On U...  

Install Node.js on Ubuntu 22.04 LTS | Install NodeJS and npm:    • How To Install Node.js on Ubuntu 22.0...  

Install Microsoft Windows 11 on Oracle VirtualBox:    • How to Install Microsoft Windows 11 i...  

Install Ubuntu 22.10 on VirtualBox in Windows 11:    • How to Install Ubuntu 22.10 (Kinetic ...  

----------

More on Android App Development:
Create Login and Register Android App with Firebase Authentication: 1️⃣   • Login and Register Android App using ...   | 2️⃣   • Create Login and Registration App for...  
Create State-District Dependent (Nested) Android Spinners | DropDown List:    • Dependent Multiple (Nested) Spinner (...  
Android Basics:    • Android Basics  

----------

My Gear:
MSI GL65 Leopard Gaming Laptop
Processor: Intel Core i7-10750H 2.6GHz, 10th Gen (6 Cores)
Display: 15.6" FHD (1920*1080), IPS-Level 144Hz
Memory: 16GB DDR4 RAM, 2666Mhz
Graphics: Nvidia GeForce RTX 2060, 6GB ‎GDDR6
Storage: 256GB NVMe M.2 SSD + 1TB SATA 7200RPM HDD
OS: Windows 11 Home, 64Bit
Web Camera: HD Webcam (720p at 30 fps)
Keyboard: Per Key RGB SteelSeries Keypad

#bashscripting #bash #ubuntu #shellscripting #tanztalkstech #tanzeelosama #tanzTalkstech2 ‪@tanzTalkstech‬ ‪@TanzeelOAnsari‬ ‪@tanzTalks.tech2‬