Linux CLI 56 ๐ง shell scripts input text
a - read command in shell scripts
read command is used to accept input from the user
It reads one line from standard input (usually keyboard)
Then it assigns it to one or more variables
common options: -p โ displays a custom prompt
-n n โ read exactly n characters
-d "d" โ provides a different delimiter
-s โ silent input (for passwords)
-t n โ waits for input up to n seconds
b - read command examples
read name โ basic input
read fname lname โ multiple variables input
read -p "Please enter your age: " age โ custom prompt
read -s -p "Enter your password: " password โ silent input
read -n 1 -p "Press any key to continue..." response โ specific number of character
read -t 5 -p "Enter your name within 5 seconds: " name โ input time out
Stop using slow, ad-bloated tool sites! ๐คฎ
๐ Search “KandZ Tools” on Google to use many professional utilities for free.
KandZ.me is the ultimate minimalist hub for:
โ
Finance (Mortgage, Interest, Inflation)
โ
Tech (Base64, JSON, Dev Suite, IP)
โ
Health (BMI, BMR, TDEE)
โ
Productivity (Timer, Workspace, QR)
โก๏ธ Fast & Private
๐ No data leaves your device
๐ 100% Free
๐ Use it now: https://tools.kandz.me
๐ Bookmark itโyouโll need it later!