filmov
tv
Bash Shell Scripting Tutorial 12 - Read User Input from Terminal

Показать описание
Liked my video? 👍Buy me a cup of coffee! 🍵
00:00:00 Read Command
00:00:30 Read input to one variable
00:01:25 Read input to multiple variables
00:03:00 Number of Words is less than Number of Variables
00:04:35 Number of Words is more than Number of Variables
00:08:36 Read Command without any variable
00:09:50 -p flag
00:11:00 -s flag or Silent Mode
00:12:50 Read Inputs into Array
Please hit 👍Like Button and Subscribe to the channel to Support me 🙏
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
To read the Bash user input, we use the built-in Bash command called read. It takes input from the user and assigns it to the variable.
To read the Bash user input, we use the built-in Bash command called read. It takes input from the user and assigns it to the 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.
----------
----------
----------
----------
----------
More on Android App Development:
----------
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
Windows 11 Home, 64Bit
HD Webcam (720p at 30 fps)
Per Key RGB SteelSeries Keypad
00:00:00 Read Command
00:00:30 Read input to one variable
00:01:25 Read input to multiple variables
00:03:00 Number of Words is less than Number of Variables
00:04:35 Number of Words is more than Number of Variables
00:08:36 Read Command without any variable
00:09:50 -p flag
00:11:00 -s flag or Silent Mode
00:12:50 Read Inputs into Array
Please hit 👍Like Button and Subscribe to the channel to Support me 🙏
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
To read the Bash user input, we use the built-in Bash command called read. It takes input from the user and assigns it to the variable.
To read the Bash user input, we use the built-in Bash command called read. It takes input from the user and assigns it to the 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.
----------
----------
----------
----------
----------
More on Android App Development:
----------
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
Windows 11 Home, 64Bit
HD Webcam (720p at 30 fps)
Per Key RGB SteelSeries Keypad
Комментарии