Passwort unsichtbar einlesen #6

Open
opened 2024-10-16 20:02:57 +02:00 by rschaten · 0 comments
Owner

Als Tip aufnehmen:

#!/bin/sh
read -p "Username: " username
stty -echo
read -p "Password: " password
stty echo
echo Thanks!
Als Tip aufnehmen: ```sh #!/bin/sh read -p "Username: " username stty -echo read -p "Password: " password stty echo echo Thanks! ```
rschaten self-assigned this 2024-10-16 20:02:57 +02:00
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: rschaten/Shell-Programmierung#6
No description provided.