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 :: digitalocean connect via ssh 
Shell :: how to compare files in terminal 
Shell :: Download and install minikube 
Shell :: install vagrant ubuntu 
Shell :: linux delete files created at some year 
Shell :: write content in file powershell 
Shell :: installing whatsapp 
Shell :: export to path linux (pipenv) 
Shell :: kubernetes commands 
Shell :: task manager ubuntu 
Shell :: upload directory ssh to remote 
Shell :: how to start elasticsearch correctly 
Shell :: how to upload on github with command 
Shell :: oh my zsh 
Shell :: bash modify file text 
Shell :: cannot update paths and switch to branch at the same time 
Shell :: correct git commit message 
Shell :: Git - fetch changes from remote repo for current branch 
Shell :: git diff between branches file 
Shell :: kubernetes copy secret form another namespace 
Shell :: update cpanel 
Shell :: download terraform 
Shell :: git pull with username and password linux 
Shell :: how to format pendrive on ubuntu 
Shell :: how to install source plugin gatsby 
Shell :: remove untracked files git 
Shell :: get public ip 
Shell :: influxdb version 
Shell :: how to install axios in react 
Shell :: cmd run exe as service 
ADD CONTENT
Topic
Content
Source link
Name
4+6 =