Sponsored Content
Top Forums Shell Programming and Scripting Print asterisk instead of password (Bash) Post 302989782 by drl on Wednesday 18th of January 2017 07:00:59 AM
Old 01-18-2017
Hi.

See also:
Code:
ledit (1)            - line editor, version 2.03
rlfe (1)             - "cook" input lines for other programs using readline
rlwrap (1)           - readline wrapper

For some details on readline, see man page for:
Code:
readline (3readline) - get a line from a user with editing

Best wishes ... cheers, drl
 

5 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

how to print asterisk without its wild card functionality

I have three cron entries in a file /cron_entries as 15 * * * * /bin/hourjobs > /tmp/hrjob.log 2>&1 .................. .................... I am trying to read this file in for loop using code below: cron=`cat /cron_entries` for line in $cron do printf... (4 Replies)
Discussion started by: sudh
4 Replies

2. Shell Programming and Scripting

Use asterisk in shell script bash

Hello, I am trying to save in a file a single "*" but its not working... look what i am doing... FILE="/home/teste/a.txt" ...BEGIN... ASTERISK="*" echo "STRING $ASTERISK STRING" >> $FILE ...END... when i do it, the result is a list of all files of the current... (4 Replies)
Discussion started by: diogooute
4 Replies

3. UNIX for Dummies Questions & Answers

space-asterisk in bash killed my server

So, here's the deal... I was attempting to type this: > grep -R "searchterm" * and somehow I typed this instead: > grep -R "searchterm" > * I accidentally typed "space-asterisk" on the second prompt. This apparently caused Bash to attempt to run the first file in the pwd, which... (1 Reply)
Discussion started by: treesloth
1 Replies

4. Shell Programming and Scripting

Make a password protected bash script resist/refuse “bash -x” when the password is given

I want to give my long scripts to customer. The customer must not be able to read the scripts even if he has the password. The following command locks and unlocks the script but the set +x is simply ignored. The code: read -p 'Script: ' S && C=$S.crypt H='eval "$((dd if=$0 bs=1 skip=//|gpg... (7 Replies)
Discussion started by: frad
7 Replies

5. Shell Programming and Scripting

To print diamond asterisk pattern based on inputs

I have to print the number of stars that increases on each line from the minimum number until it reaches the maximum number, and then decreases until it goes back to the minimum number. After printing out the lines of stars, it should also print the total number of stars printed. I have tried... (13 Replies)
Discussion started by: rohit_shinez
13 Replies
ASTMAN(1)						     Linux Programmer's Manual							 ASTMAN(1)

NAME
astman -- a client to asterisk's manager interface SYNOPSIS
astman hostname DESCRIPTION
astman This program is a full-screen (terminal) client for Asterisk's manager interface. OPTIONS
hostname The host name or IP address to connect to (TCP port 5038). If astman fails to connect it will exit immidiately. USAGE
If astman has successfully cunnected to the manager port it will prompt the user for a username and a secret (password) for the manager interface on the remote Asterisk manager interface. It will then be able to report existing channels (calls). You will then be able to re- direct calls to or terminate them. SEE ALSO
asterisk(8) http://www.voip-info.org/wiki-Asterisk+astman BUGS
The hostname does not default to localhost. Impossible to use a port other than 5038. The username and password cannot be defined from the command-line. I mean, what's the point in a man page if the syntax is so simple? AUTHOR
This manual page was written by Tzafrir Cohen <tzafrir.cohen@xorcom.com> Permission is granted to copy, distribute and/or modify this docu- ment under the terms of the GNU General Public License, Version 2 any later version published by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. astman Jun 12th, 2005 ASTMAN(1)
All times are GMT -4. The time now is 05:04 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy