Bash Shell Scripting Tutorial 15 - Arithmetic Operators | Bash math for beginners

tanzTalks.tech May 19, 2025
Video Thumbnail

tanzTalks.tech

View Channel

About

No channel description available.

Video Description

Liked my video? 👍Buy me a cup of coffee! 🍵 https://www.youtube.com/channel/UCMz232hZ7fD75uGWhuLNjtA/join ⌚ TIMESTAMPS 00:00 Introduction 03:10 Double Parentheses 08:40 Using Backticks (expr) 10:10 Let Construction 13:45 Arithmetic Operations available with Let Command 📺 RELATED VIDEOS Bash Shell Scripting Tutorial: https://www.youtube.com/playlist?list=PLnisUReSm0-n4vwT7Dzjhw5Vjz32clx6N 🔽 CONNECT WITH ME - Facebook: https://fb.me/tanzTalks.tech https://www.facebook.com/groups/769372597093758 - Instagram: https://www.instagram.com/tanztalks.tech https://www.instagram.com/tanzeelosama - LinkedIn: https://in.linkedin.com/in/tanzeelosama - GitHub: https://github.com/tanzeelosama 🔔 SUBSCRIBE ON YOUTUBE https://www.youtube.com/@tanzTalks.tech2 https://www.youtube.com/@tanzTalkstech 🙌 SUPPORT THE CHANNEL - Hit the THANKS button in any video! - Buy me a cup of coffee! https://www.youtube.com/@tanzTalkstech/join 1. Introduction: https://youtu.be/Yw9H5hDjDkQ 2. Bash Scripting: https://youtu.be/ZCVw6GDon1Y 3. Linux Filesystem and File Permissions: https://youtu.be/R_H-reTQAI4 4. Absolute vs Relative Path: https://youtu.be/gL992hIVeaU 5. Hello World! Bash Script: https://youtu.be/UaYyDi564Tk 6. Echo Command: https://youtu.be/F5RzU1dF36g 7. Comments: https://youtu.be/95CCR0ztjl0 8. Quotes: https://youtu.be/r6b5fH5ZDh4 9. Variables: https://youtu.be/2rmWqaLltaY 10. Command Substitution: https://youtu.be/3JNRtVFE1VA 11. Command Line Arguments: https://youtu.be/pRREARSs5sw 12. Read User Input: https://youtu.be/94xEtHOBhfM 13. Date Command: https://youtu.be/KSgTL3ER5Kc 14. Sleep Command: https://youtu.be/t5_43BpnFmw 15. Arithmetic Operators: https://youtu.be/snaLTsqfPmY 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: https://youtu.be/zr17y9YHopQ Install Ubuntu on Windows 11 (WSL) | Windows Subsystem for Linux with GUI Support: https://youtu.be/NXJjutYp4x8 More Tutorials on Ubuntu: https://www.youtube.com/playlist?list=PLnisUReSm0-nc0N5IlO0QoJd78oBhlHoX ---------- More Tutorials for Windows 11: https://www.youtube.com/playlist?list=PLnisUReSm0-n126_vs1cXCCGhyzLTIVvj Install Java JDK 19 on Windows 11: https://youtu.be/r9CX3iW9x5Q ---------- More Tutorials for VMWare Player: https://www.youtube.com/playlist?list=PLnisUReSm0-ncHac3_ZAsE5g7nWy88Qta Install Windows 11 on VMware Player: https://youtu.be/3HBSuoVOpt0 Install macOS 12 Monterey on VMware Player: https://youtu.be/WLMTAqZ_3xU Install macOS 13 Ventura on VMware Player: https://youtu.be/CeSqdrf1WOg Install Ubuntu 22.04 LTS on VMware Player: https://youtu.be/LvYaZMV-ZlY ---------- More Tutorials on macOS: https://www.youtube.com/playlist?list=PLnisUReSm0-kC89Ml7Wm5kPdXvgbqndUp Download and Install NodeJS, HomeBrew (Package Manager) and N (Version Manager) on macOS: https://youtu.be/O6MKC5TgQao Install Java JDK and OpenJDK on macOS 13 Ventura: https://youtu.be/F5HTPakOdi4 ---------- VirtualBox playlist: https://www.youtube.com/playlist?list=PLnisUReSm0-lwVz0CcHg9_NlMY-Vtqd8Y Install Ubuntu 22.04 LTS in VirtualBox running on Windows 11: https://youtu.be/C5mJ2SwmN0w Install macOS Monterey in VirtualBox running on Windows 11: https://youtu.be/WGrBHjDFVIw Install VirtualBox Guest Additions on Ubuntu 22.04 Guest/Virtual Machine: https://youtu.be/mGUhjd3D2ZY Install Java (JDK) On Ubuntu 22.04 LTS: https://youtu.be/SMfO5oXNp2g Install Node.js on Ubuntu 22.04 LTS | Install npm: https://youtu.be/0D1MJf-oscU Install Windows 11 on VirtualBox: https://youtu.be/OZbVZdj2c0Q Make Windows 11 Full Screen in VirtualBox: https://youtu.be/ahOaKWR8RdA Install Ubuntu 22.10 on VirtualBox in Windows 11: https://youtu.be/yIWP2js-JoQ ---------- More on Android App Development: Create Login and Register Android App with Firebase Authentication: 1️⃣https://www.youtube.com/playlist?list=PLnisUReSm0-nUXkQSZC1lAUT0zJ8JIsrF | 2️⃣https://www.youtube.com/playlist?list=PLnisUReSm0-nFzNqZh8twEgMxpRn05XgR Create State-District Dependent (Nested) Android Spinners | DropDown List: https://www.youtube.com/playlist?list=PLnisUReSm0-lBZYsxE9XB8cn0Ue8AyRzM Android Basics: https://www.youtube.com/playlist?list=PLnisUReSm0-mIQhfDMtri0X13RuLP5dqj ---------- My Gear: MSI GL65 Leopard Gaming Laptop Intel Core i7-10750H 2.6GHz, 10th Gen (6 Cores) 15.6" FHD (1920*1080), IPS-Level 144Hz 16GB DDR4 RAM, 2666Mhz Nvidia GeForce RTX 2060, 6GB ‎GDDR6 256GB NVMe M.2 SSD + 1TB SATA 7200RPM HDD #bashscripting #bash #ubuntu #shellscripting @tanzTalks.tech2 @TanzeelOAnsari #tanzeelosama #tanztalkstech2 #tanztalkstech

You May Also Like

Boost Your Coding Setup

AI-recommended products based on this video

Loading...
BOSGAME Linux Mini PC, Intel 12th N100 16GB DDR4 RAM 512GB SSD Linux Server Computers Preinstalled Ubuntu 22.04,Support 4K Triple Display/USB3.2/WiFi 5/2.5GbE

BOSGAME Linux Mini PC, Intel 12th N100 16GB DDR4 RAM 512GB SSD Linux Server Computers Preinstalled Ubuntu 22.04,Support 4K Triple Display/USB3.2/WiFi 5/2.5GbE

(44)
$219.00
PrimeFREE delivery Mon, Jun 16
Loading...
10.1 Inch Touch Portable Monitor IPS Screen 1366x768P 60Hz 400 Brightness 99% sRGB HDMI USB-C Monitors Switch for Xbox PS3/4/5 Laptop Compatible with Raspberry Pi, Mini Touch Screen

10.1 Inch Touch Portable Monitor IPS Screen 1366x768P 60Hz 400 Brightness 99% sRGB HDMI USB-C Monitors Switch for Xbox PS3/4/5 Laptop Compatible with Raspberry Pi, Mini Touch Screen

(1)
$99.99
FREE delivery Mon, Aug 11
Loading...
ELECROW 8 Inch Portable Monitor, 1280x800 Mini HD Display with Built-in Speakers, USB Powered, Non-Touch LCD Screen for Raspberry Pi, PC, Laptop, Jetson Nano, Game Consoles

ELECROW 8 Inch Portable Monitor, 1280x800 Mini HD Display with Built-in Speakers, USB Powered, Non-Touch LCD Screen for Raspberry Pi, PC, Laptop, Jetson Nano, Game Consoles

(49)
$117.29$102.21
$6.86 delivery Thu, Aug 14
Loading...
7 Inch Portable Monitor Touchscreen HD 1024x600 LED Display Dual HDMI Port Small Monitor for PC Raspberry Pi Laptop Computer Xbox PS4/5 Switch Built-in Speakers

7 Inch Portable Monitor Touchscreen HD 1024x600 LED Display Dual HDMI Port Small Monitor for PC Raspberry Pi Laptop Computer Xbox PS4/5 Switch Built-in Speakers

(61)
$68.99
FREE delivery Tue, Aug 12
Loading...
BrosTrend 1800Mbps WiFi 6 Linux WiFi Adapter for PC and Raspberry Pi 2+, Long Range USB WiFi Dongle Linux for Ubuntu, Mint, Debian, Kubuntu, Lubuntu, Zorin, Windows 11/10, Dual Band Wireless Antenna

BrosTrend 1800Mbps WiFi 6 Linux WiFi Adapter for PC and Raspberry Pi 2+, Long Range USB WiFi Dongle Linux for Ubuntu, Mint, Debian, Kubuntu, Lubuntu, Zorin, Windows 11/10, Dual Band Wireless Antenna

(288)
$54.14
FREE delivery Sun, Jun 22
Loading...
SAMSUNG 870 EVO SATA SSD 500GB 2.5” Internal Solid State Drive, Upgrade PC or Laptop Memory and Storage for IT Pros, Creators, Everyday Users, MZ-77E500B/AM [Canada Version]

SAMSUNG 870 EVO SATA SSD 500GB 2.5” Internal Solid State Drive, Upgrade PC or Laptop Memory and Storage for IT Pros, Creators, Everyday Users, MZ-77E500B/AM [Canada Version]

(41,678)
$74.97
FREE delivery Wed, Jun 18
400+ bought in past month
Loading...
SAMSUNG 870 EVO SATA III SSD 4TB 2.5” Internal Solid State Drive, Upgrade PC or Laptop Memory and Storage for IT Pros, Creators, Everyday Users, MZ-77E4T0B/AM [Canada Version]

SAMSUNG 870 EVO SATA III SSD 4TB 2.5” Internal Solid State Drive, Upgrade PC or Laptop Memory and Storage for IT Pros, Creators, Everyday Users, MZ-77E4T0B/AM [Canada Version]

(41,656)
$399.97
FREE delivery Tue, Jun 17
100+ bought in past month
Loading...
Samsung 990 EVO Plus - 4TB PCIe Gen4. X4, Gen5. X2 NVMe 2.0 - M.2 Internal SSD, Speed Up to 7,250 MBs, Upgrade Storage for PC-Laptops, HMB Technology and Intelligent Turbowrite (MZ-V9S4T0B/AM)

Samsung 990 EVO Plus - 4TB PCIe Gen4. X4, Gen5. X2 NVMe 2.0 - M.2 Internal SSD, Speed Up to 7,250 MBs, Upgrade Storage for PC-Laptops, HMB Technology and Intelligent Turbowrite (MZ-V9S4T0B/AM)

(1,811)
$359.99$341.99
FREE delivery Tue, Jun 17
100+ bought in past month
Loading...
SAMSUNG EVO Select Micro SD-Memory-Card + Adapter, 128GB microSDXC 160MB/s Full HD & 4K UHD, UHS-I, U3, A2, V30, for Android Smartphones, Tablets, Nintendo-Switch (MB-ME128SA/AM) [Canada Version]

SAMSUNG EVO Select Micro SD-Memory-Card + Adapter, 128GB microSDXC 160MB/s Full HD & 4K UHD, UHS-I, U3, A2, V30, for Android Smartphones, Tablets, Nintendo-Switch (MB-ME128SA/AM) [Canada Version]

(12,472)
$19.99$18.59
FREE delivery Sun, Aug 10 on your first order
400+ bought in past month
Loading...
Anker 332 USB-C Hub (5-in-1) with 4K HDMI Display, 5Gbps - and 2 5Gbps USB-A Data Ports and for MacBook Pro, MacBook Air, Dell XPS, Lenovo Thinkpad, HP Laptops and More

Anker 332 USB-C Hub (5-in-1) with 4K HDMI Display, 5Gbps - and 2 5Gbps USB-A Data Ports and for MacBook Pro, MacBook Air, Dell XPS, Lenovo Thinkpad, HP Laptops and More

(11,639)
$23.99
FREE delivery Sat, Jun 14 on your first order
1K+ bought in past month
Loading...
Logitech G203 Wired Gaming Mouse, 8,000 DPI, Rainbow Optical Effect LIGHTSYNC RGB, 6 Programmable Buttons, On-Board Memory, Screen Mapping, PC/Mac Computer and Laptop Compatible - Black
Best Seller

Logitech G203 Wired Gaming Mouse, 8,000 DPI, Rainbow Optical Effect LIGHTSYNC RGB, 6 Programmable Buttons, On-Board Memory, Screen Mapping, PC/Mac Computer and Laptop Compatible - Black

(17,871)
$27.98$22.38
FREE delivery Tue, Oct 14 on your first order
500+ bought in past month
Loading...
Logitech G305 LIGHTSPEED Wireless Gaming Mouse, Hero 12K Sensor, 12,000 DPI, Lightweight, 6 Programmable Buttons, 250h Battery Life, On-Board Memory, PC/Mac - Black

Logitech G305 LIGHTSPEED Wireless Gaming Mouse, Hero 12K Sensor, 12,000 DPI, Lightweight, 6 Programmable Buttons, 250h Battery Life, On-Board Memory, PC/Mac - Black

(21,223)
$44.98
FREE delivery Tue, Oct 14
1K+ bought in past month
Loading...
Dell UltraSharp 24 Monitor - U2424H

Dell UltraSharp 24 Monitor - U2424H

(43)
$309.44$262.14
FREE delivery Aug 22 - 25Only 8 left in stock.
Loading...
Dell UltraSharp U2723QE 27" 4K UHD WLED LCD Monitor - 16:9 - Black, Silver EPEAT

Dell UltraSharp U2723QE 27" 4K UHD WLED LCD Monitor - 16:9 - Black, Silver EPEAT

(13)
$699.99$650.99
FREE delivery Tue, Oct 7
50+ bought in past month
Loading...
Dell UltraSharp U2725QE 27' 4K Thunderbolt-Hub-Monitor mit Bildwiederholfrequenz Von 120Hz

Dell UltraSharp U2725QE 27' 4K Thunderbolt-Hub-Monitor mit Bildwiederholfrequenz Von 120Hz

(50)
$1,059.91
FREE delivery Oct 7 - 8
Loading...
Cmokifuly GMK67 65% Mechanical Keyboard Kit Tri-Mode South-Facing RGB LED for 3/5pin Switches,66 Keys+1 Knob Hotswap Socket PCB Gasket Mounted Plate Gaming DIY Keyboard Kit (White)

Cmokifuly GMK67 65% Mechanical Keyboard Kit Tri-Mode South-Facing RGB LED for 3/5pin Switches,66 Keys+1 Knob Hotswap Socket PCB Gasket Mounted Plate Gaming DIY Keyboard Kit (White)

(72)
$160.90
FREE delivery Aug 12 - 14Only 9 left in stock.
Loading...
5 Pcs Adult Keyboard Clicker Toys, Portable Mechanical Keyboard Keychain Toy, Decompression Toys, Funny Cube Key Button Stress Relief for Adults Present to Relief Pass Time

5 Pcs Adult Keyboard Clicker Toys, Portable Mechanical Keyboard Keychain Toy, Decompression Toys, Funny Cube Key Button Stress Relief for Adults Present to Relief Pass Time

(0)
$4.99
$9.99 delivery Jun 19 - Jul 3
Loading...
TMKB 60% Mechanical Gaming Keyboard, Brown Tactile Switch, LED Backlight, Anti-Ghosting, Detachable USB-C, Double-Shot Keycaps, 61 Keys, Wired, White

TMKB 60% Mechanical Gaming Keyboard, Brown Tactile Switch, LED Backlight, Anti-Ghosting, Detachable USB-C, Double-Shot Keycaps, 61 Keys, Wired, White

(35)
$39.99
PrimeFREE delivery Sat, Jun 14
Loading...
BOSGAME Linux Mini PC, Intel 12th N100 16GB DDR4 RAM 512GB SSD Linux Server Computers Preinstalled Ubuntu 22.04,Support 4K Triple Display/USB3.2/WiFi 5/2.5GbE

BOSGAME Linux Mini PC, Intel 12th N100 16GB DDR4 RAM 512GB SSD Linux Server Computers Preinstalled Ubuntu 22.04,Support 4K Triple Display/USB3.2/WiFi 5/2.5GbE

(44)
$219.00
PrimeFREE delivery Mon, Jun 16
Loading...
Wireless Print Server for USB Printer (NOT Plug&Play), 2 Port USB Print Server, Convert Wired Printer to Wireless WiFi Ethernet Networking - Windows Mac Linux Compliant - CR202

Wireless Print Server for USB Printer (NOT Plug&Play), 2 Port USB Print Server, Convert Wired Printer to Wireless WiFi Ethernet Networking - Windows Mac Linux Compliant - CR202

(45)
$69.99
FREE delivery Mon, Aug 11