Questions tagged [prompt]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
28 views

When using rsh i'm getting prompt for the password, but other SLES12 servers are working without prompting password

[ 2 root ] $ cat /etc/securetty # # This file contains the device names of tty lines (one per line, # without leading /dev/) on which root is allowed to login. # tty1 tty2 tty3 tty4 tty5 tty6 rsh ...
0
votes
1answer
26 views

The {0} ok prompt is missing a # inside the {} [closed]

We have tried to replicate at our lab facility but were unable to get empty braces {}. We tried with hard drives in place and with none. There is also no errors indicated when using the rotary switch ...
0
votes
1answer
113 views

Cognos Analytics 11.1.6 - Reports Requesting User ID and Password When Clicked

I'm running Cognos Analytics 11.1.6 and restored a bunch of reports from the previous server that was running 10.2.2. A user mentioned that when she clicks a report on the 11 instance she is required ...
2
votes
1answer
48 views

PS variable for expansion of word designators

Is there an undocumented PS variable like PS2 that bash would show when it replaces a word designator into its actual value? I think it would help clarify where the command ends and where the ...
0
votes
3answers
3k views

Ansible - Is it possible to skip the execution of a role?

Here is my main playbook, which launch the roles listed below --- - hosts: slaves roles: - ntp - nmap - tcpdump - unattended-upgrades - traceroute - apache ...
2
votes
1answer
2k views

How to display user@hostname in SSHD password prompt

When I SSH to a server, the prompt sometimes displays my user and the hostname of the server: xavier@local:~$ ssh server1 xavier@server1's password: Sometimes all I get is Password: xavier@local:~...
0
votes
1answer
21 views

how do i edit the username and password prompt window for my protected virtual path?

I am using abyss web server X2 to create this username and password prompt window for my protected virtual path. I would like to edit this prompt window or pop up with my custom text for the visitors....
-1
votes
1answer
510 views

Not getting the console login prompt in HP ILO 3

Not able to get the console login in the ILO 3. When I am entering the vsp command in the ilo it is not showing the console login prompt. Tried to reset the ilo(from the Diagnostic Option in the Web ...
3
votes
1answer
3k views

Trouble using powershell output as a variable in batch file

I can manually run this command from a Windows Command Prompt: powershell (new-timespan -start 01/01/2000 -end (get-date)).days % 14 And it returns a number from 0 to 13. I want to use this result ...
1
vote
1answer
2k views

Change login prompt on Debian server

I need to change a telnet login prompt of Debian 4.0 server. Currently it is of form: hostname login: I need to have just: login: Apparently chnages to /etc/issue.net only influence what is ...
1
vote
3answers
253 views

Where are all the places Windows environment variables set?

When I run cmd.exe and type 'set' I have a %LIB% variable set. The value is pointing to a folder that doesn't exist, which causes warnings during Visual Studio compiles. Here's the thing... If I go ...
2
votes
4answers
2k views

How to lock user in a shell script program?

Let's say I have a Linux OS without desktop environment. After the PC finish boot up, it will directly show the shell terminal to the user. I plan to write a shell script program and make it ...
2
votes
3answers
738 views

What's wrong with this bash prompt?

I use the following entry in ~/.bashrc file to colorize the prompt and display current branch of git repository: PS1='\[\e[1;32m\]\[\u@\h\]\[\e[m\] \[\w\]\[\e[1;1m\]\[$(__git_ps1 " (%s)")\] \[\e[1;1m\...
0
votes
1answer
1k views

unwanted password prompt pops up on web server?

my web server randomly asks for a password as though basic authentication is turned on. It's an IIS 7 web server and you have to specifically install basic authentication in the roles section. It isn'...
2
votes
4answers
197 views

a unix single-line editor/prompt?

I've got a bash script that would be nicer if when I prompt the user, rather than just asking for input, if it provided a line that the user could edit (but a full text editor would be overkill, it's ...
10
votes
3answers
3k views

Bash: how to know if the last command's output ends with a newline or not?

Most of the time the output of a command ends with the newline character. But sometimes it does not, so the next shell prompt is printed in the same line together with the output. Example: root@...
5
votes
4answers
5k views

Prompt customization: how to detect when there is no tty

I have a customized prompt with colors (using tput) and every time I start a non-interactive session in the server I get a bunch of errors. For instance if I start a non-interactive session like this: ...
8
votes
1answer
3k views

Bash custom prompt breaking wrapping of long command lines

I have a custom bash prompt that colours my username, hostname and current working directory. The colours display correctly, however when I type a command line that needs to wrap, the terminal does ...
4
votes
9answers
28k views

Is there a way to delay a forced reboot?

I realize this is more appropriate for our company's admin group to field. However, pretend they are unresponsive just for the sake of discussion =) If my system is prompting me to reboot now or in a ...
7
votes
3answers
914 views

Getting more helpful tab completion prompts in bash?

Let's say I have a directory with a few files in it like this: $ ls file1 file2 file3 And I want to do some tab completion in bash: $ cat file<tab> file1 file2 file3 I remember seeing ...
2
votes
5answers
1k views

Who decided the default shell prompts in Linux?

There are a couple of defaults in the standard Linux shell, bash, that I think need some history brought out. This question is about the prompt. The default prompt in bash in many Linux distros is [\...
2
votes
4answers
733 views

How can I copy sanely (not using “Mark”) from the Windows command prompt

Given a very long single command at the command line in Windows, I'd like to simply copy that command into clipboard. I am just looking for the ubiquitous Shift-End , Ctrl-C type functionality almost ...