Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

read password bash

# -s parameter hides echo
read -p 'Type your password:' -s PASSWORD
Comment

bash read password

#!/bin/sh
# A POSIX compliant answer
stty -echo
printf "Password: "
read PASSWORD
stty echo
printf "
"
Comment

PREVIOUS NEXT
Code Example
Shell :: * (no branch, rebasing <branch-name) 
Shell :: bash add chr to beginning of vcf 
Shell :: how to find current active yarn resource manager 
Shell :: docker container could not open port /dev/ttyUSB0 
Shell :: install gogh 
Shell :: Error relocating /usr/bin/curl 
Shell :: ubuntu auditd show process activity by rules 
Shell :: bash errors: syntax error - ambiguous - file 
Shell :: failed to get canoncal path of airootfs 
Shell :: install vivaldi on linux mint 
Shell :: how to generate master.key rails 
Shell :: install anydesk snap linux mint 
Shell :: how to see all branches in git 
Shell :: find git repo size 
Shell :: How to kill all tmux sessions (or at least multiple sessions) from the CLI? 
Shell :: create a batch file to create a text file with multiple line input 
Shell :: Ubuntu 18.04 Mouse right click not working 
Shell :: ubuntu check virtualbox version 
Shell :: linu xcreate folder link 
Shell :: firewall in ubuntu 18.04 
Shell :: linux replace string in all files 
Shell :: how to uninstall games on ubuntu 
Shell :: bastighg 
Shell :: install discord ubuntu 
Shell :: add code to github repository from command line 
Shell :: show wifi password linux 
Shell :: get current kernel version 
Shell :: Deploy all file and subfolder git cpanel 
Shell :: show rights inside folder debian 
Shell :: how to restart apache2 in ubuntu 20.04 
ADD CONTENT
Topic
Content
Source link
Name
2+7 =