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 :: powershell copy file to remote computer 
Shell :: display number of lines in nano linux 
Shell :: instal .deb ubuntu 
Shell :: waybar emoji not wrok 
Shell :: ubuntu video player 
Shell :: install mongodb ubuntu 20.04 
Shell :: git update using git bash 
Shell :: taskkill 
Shell :: install pylatex 
Shell :: check os command 
Shell :: conda notebook 
Shell :: batch file cool ending 
Shell :: how to remove all picture in folder with command line 
Shell :: xcode path mac 
Shell :: uninstall certbot ubuntu 16 nginx 
Shell :: remove large file from git history 
Shell :: purge a software linux 
Shell :: exit git log 
Shell :: sudo apt-get --purge remove 
Shell :: git clone from specific branch 
Shell :: linux apt pcap 
Shell :: install gogh 
Shell :: Install OpenERP on Mac OS X 10.8 odoo 
Shell :: creating a gitignore for xcode project 
Shell :: react router installation 
Shell :: ubuntu list users in group 
Shell :: list all the files changed in PR 
Shell :: wget ignore if exists 
Shell :: microstack change dashboard port 
Shell :: open file explorer from cmd linux 
ADD CONTENT
Topic
Content
Source link
Name
3+9 =