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 :: ETIMEDOUT Error while installing Node packages on Windows 
Shell :: linux dark mode 
Shell :: how to install curl on macos 
Shell :: git find current head 
Shell :: bash terminal function display all arguments 
Shell :: nohup linux output 
Shell :: git clone in ubuntu 
Shell :: git ls files sort by date 
Shell :: linux check package manager 
Shell :: updates were rejected because the remote contains work that you do not have locally 
Shell :: linux move everything in a directory to another directory 
Shell :: Redis::CommandError: MISCONF Redis is configured to save RDB snapshot 
Shell :: update ubuntu to gnome 40 
Shell :: npm morgan install 
Shell :: installing pytorch 
Shell :: linux shuton after time 
Shell :: ubuntu install libgcc.i686 
Shell :: npm TypeError [ERR_INVALID_ARG_TYPE]: 
Shell :: ruby install 
Shell :: phpcs other xml file other location phpcs standard xml 
Shell :: to clear npx cache 
Shell :: home brew for windows 10 
Shell :: kubernetes on windows 10 
Shell :: what is a shell 
Shell :: git checkout previous commit 
Shell :: githum readme bold 
Shell :: INSTALL VMwareTools on terminal ap=get 
Shell :: Display lines containing the pattern “root” and 3 lines after them in the file /etc/passwd. 
Shell :: install node specific version 
Shell :: git log show only merge commits 
ADD CONTENT
Topic
Content
Source link
Name
6+5 =