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 :: Hands-on GitHub Actions: Implement CI/CD with GitHub Action Workflows for Your Applications.pdf 
Shell :: bash show function definition 
Shell :: ossec ubuntu 20 
Shell :: gnome-desktop-item-edit install for kali 
Shell :: Command used to show the content stored inside a file in linux 
Shell :: ls sort size descend 
Shell :: how to safely clean snaps folder in ubuntu 
Shell :: dnf install specific version 
Shell :: scp linix folder 
Shell :: ubuntu install bin for all users 
Shell :: check head of file 
Shell :: imagemagic make blank png 
Shell :: how to use firework command in the linux ternimal 
Shell :: https://www.npmjs.com/package/instagram-private-api 
Shell :: how to run built in automated test of your project in django 
Shell :: how to make terminal close after running code command 
Shell :: debian auto login 
Shell :: brew install shopify-cli Error: Cannot install under Rosetta 2 in ARM default prefix (/opt/homebrew)! 
Shell :: docker unpause 
Shell :: connect as super user 
Shell :: install ltrace with yum 
Shell :: search css class in all html files 
Shell :: Find specific directory in specific path in linux 
Shell :: fish function to change php version devilbox 
Shell :: thunderbird refresh emails shortcut 
Shell :: git submodule push 
Shell :: unix find files with specific year 
Shell :: how to remove lessc completely from ubuntu 
Shell :: run all mix task 
Shell :: pacman install openldap 
ADD CONTENT
Topic
Content
Source link
Name
1+8 =