Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

input bash

# fullname="USER INPUT"
read -p "Enter fullname: " fullname
# user="USER INPUT"
read -p "Enter user: " user
Comment

bash input

#!/bin/bash
# Ask the user for their name
echo Hello, who am I talking to?
read varname
echo It's nice to meet you $varname
Comment

how to read an input in bash

	echo -e "
Enter a regular expression to search for?"
    read reg_exp
Comment

PREVIOUS NEXT
Code Example
Shell :: ubuntu console png to pdf 
Shell :: git lfs add file 
Shell :: add a home directory for existing user 
Shell :: curl output to stdout 
Shell :: kubectl live logs 
Shell :: linux run command in background and redirect output to file 
Shell :: ssh connect with specific port 
Shell :: wine telecharger linux 
Shell :: chmod: Unable to change file mode Operation not permitted 
Shell :: vim remove line by pattern from all files 
Shell :: kubernetes delete all from namespace 
Shell :: git files change from commit 
Shell :: logrotate force rotation 
Shell :: how to install morgan in node js 
Shell :: pytorch 
Shell :: powershell get all directories in path 
Shell :: add mirror list arch linux 
Shell :: install vue router 
Shell :: macos install ruby 
Shell :: google font npm install 
Shell :: download sublime notepad ubuntu 
Shell :: homebrew for windows 
Shell :: run ionic live 
Shell :: How can I find out which users are in a group within Linux? 
Shell :: kubectl exec run command inside pod 
Shell :: adobe acrobat reader for linux download 
Shell :: react native ubuntu 20.04 
Shell :: how to install pycord 
Shell :: pgadmin4 on docker 
Shell :: how to unzip tar.gz file 
ADD CONTENT
Topic
Content
Source link
Name
7+4 =