The prompt is what asks a user for their interactive input

learn more… | top users | synonyms

1
vote
2answers
24 views

How do I remove the extra bash-3.2$ from shell-mode?

Summary The first line of shell-mode has an extra bash-3.2$ prompt before my custom dotfiles (master)$ prompt. I tried writing PROMPT_COMMAND='' in my ~/.bashrc according to an earlier Stack ...
1
vote
2answers
46 views

Search-and-go in Windows CMD

I know that for file search on Windows CMD one can use the following command: dir /S /P "PATH/FILENAME" Is there an easy way to go straight to the result directory. For example, the requested file ...
3
votes
1answer
2k views

Ubuntu 12.10 - How to change login screen to allow login to active directory domain

So, I have an Ubuntu 12.10 machine that has been joined to an active directory domain. However, when the machine turns on and I am presented with a login screen, I cant just type DOMAIN\user. All ...
3
votes
1answer
295 views

Why my Network Connection Properties don't show UAC prompt & settings change everytime I connect?

I can't set my network connection interface properties, UAC prompt doesn't appear anymore for only this adapter interface. I disable Netbios but each time I connect it changes back to default. Earlier ...
2
votes
1answer
128 views

Line wrapping issues in bash/php

I am writing a program that prints colored lines, and the more I do with it the more I find myself working around line wrapping issues that come up. It is a sort of terminal written in php, here is ...
2
votes
1answer
437 views

How do you assign a shortcut key to Command Prompts so that it can open multiple windows?

On every Windows machine that I've ever owned (or used at work), I've assigned a Shortcut key to open a Command Prompt window on entering the shortcut key. If you enter this shortcut key several ...
1
vote
1answer
83 views

Interactive Script; Prompt within a loop

How do I prompt a user for input from a shell script (ksh) within a loop in which a file is read? The script reads in a file. In each loop pass the user will be asked if he wants to cancel or not? ...
1
vote
1answer
505 views

How to configure message on Remote Desktop access on Windows Server 2008 R2?

I have Windows Server 2008 R2. When a user is logged in and another user (with same credentials) tries to logon, I need to display a prompt with the message that another user is already logged in. If ...
1
vote
1answer
1k views

how to connect to secured wireless network connection in cmd in windows?

I program on C#, I don't want to use P/invoke, so I will use shell, so I need to connect to a secured wireless network connection on the CMD in windows, I know how to connect to a wireless network but ...
1
vote
1answer
62 views

unable to ssh on the command prompt

I have a problem with ssh on my ubuntu laptop, but after several effort I was able to get the putty work by making changes to the proxy type: I check the http and set the proxyhost name to ...
1
vote
1answer
126 views

NAS Drive Not Correctly Reporting Files, Directories from a DOS/Command prompt in WIN7

I have an NAS drive on my network, and it works just fine. I can access every file on it with WIN7. However, when I go to a command prompt and perform a directory command, the command reports 0 ...
0
votes
1answer
60 views

command to pipe in password when prompted by command prompt

runas /profile /user:administrator "cmd /c net user /add [username] [password]". I used the above command to create a new user using administrator permissions. After I enter this command, it prompts ...
0
votes
1answer
22 views

My bash_prompt cannot find a shell script

This is a function I added to my .bash_prompt function look_for_autorun() { echo "checking file" FILE="autorun.sh" if [ -x $FILE ] then echo "File '$FILE' Exists" else ...
0
votes
1answer
919 views

How to configure internet explorer to block download prompt for csv files

How to configure internet explorer to avoid save or cancel prompt while downloading .csv file and download the csv file.
0
votes
1answer
82 views

How to create a windows cmd script to rename files

I have a bunch of files named YYYYDDMM_prep888 and I want to rename them to YYYYMMDD_prep888, just exchanging DD for MM. I'd appreciate some help. Thanks.
0
votes
1answer
373 views

%1 in registry not being expanded in Windows 8

I have made a tool that adds some things to the context menu when right clicking a directory, inside the 'empty space' of a directory, or a drive. I have used this extensively in Windows XP, Vista, ...
0
votes
1answer
457 views

Outlook 2007 to prompt to save or delete sent item when SEND is clicked

In outlook 2007, I would like to be prompted to Save or Delete the message after I click on Send button. How do I do this?
0
votes
1answer
211 views

FreeBSD 8.2: Keystrokes in Bash do not show up

I just installed the latest FreeBSD 8.2 distro using Parallels Desktop. Problem: Whatever I type in the Bash/Shell it is not echoed on the screen. It's behaving like a password prompt. As soon I hit ...
-1
votes
1answer
33 views

Need Macro to perform formula based on cell not number

I am working on a budget workbook and in column I (I5-I1135) I have numbers that I need to upon prompt (such as CTRL C) have the numbers divide by 10 then multiply by 12.. Example: cell I5 has ...
2
votes
0answers
253 views

My custom fish shell prompt keeps resetting every reboot

I switched to fish shell a month ago and I'm quite pleased with it. But recently, my custom prompt keeps resetting to the default prompt every time I turn on my PC. When opening the terminal, I'm ...
2
votes
0answers
153 views

Open in Command line doesn't work anymore since the last windows update

Since the last Windows update (2013/11/12), this doesn't work anymore on Windows 7 64bit: Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\cmd] @="Open cmd ...
2
votes
0answers
209 views

Mac Screen Sharing - see screen, but no login prompt

In the past I have been able to connect via screensharing (finder/go to server vnc://IP) to my i-Mac at work from my mac-mini just fine. However, when I tried today, I wasn't able to see the login ...
1
vote
0answers
140 views

Windows 8.1 mark an account as a Trusted UAC Account

From what I understand in windows 8 if you want to use/enable UAC you get a prompt unless you hack an icon or use the local SYSTEM account. I am fine with this, however is there a way to make a ...
1
vote
0answers
265 views

Save PDF automatically on exit in Adobe Reader

Adobe Reader prompts me to save on exit. This is an operation I do several times a day every day, so if I Adobe Reader could just save my changes without asking me (that is, comments), that would be ...
1
vote
0answers
83 views

Update prompt on window change in tmux

Windows in tmux can easily become out of sync. For example, in both windows I might have: ~/dir git:(master *) $ The * indicates changes. Then I run git commit in one window, or change to another ...
1
vote
0answers
145 views

How do I display a newline in a mysql prompt?

I'm trying to make my mysql prompt look like this: root@localhost:3306 database $ [mysql commands…] How might I place the dollar sign on a newline? Here's my current prompt configuration, in which ...
1
vote
0answers
441 views

Downloading a file from multiple FTP's via excel/command prompt

I have a huge list of ip's which point to a text file I need to download. There is about 500 text files and the text filename is the same, data.txt. My initial thought was to use a macro to get the ...
0
votes
0answers
13 views

posh-git not reading my profile

I'm using posh-git (part of Github for Windows). I want to set a custom prompt as in this question. However, posh-git is not reading my profile file. I have tried: Running PowerShell as ...
0
votes
0answers
68 views

Find and delete characters special in text file batch file

Example: three text files: 1.txt contents store is: 7.1M 2.txt is 72M 3.txt is 7.21M I would use batch file to scan these three text files and output: 1.txt is 7 2.txt is 72 3.txt is 7 Thank ...
0
votes
0answers
107 views

Alternative ways of passing PS1 env variable into Ubuntu for SSH session

I know that there are twenty thousand answers, none of them worked as expected, I'm more surprised than you are, so please consider reading the story first. I'm trying to achieve what appears to be a ...
0
votes
0answers
42 views

Change the prompt on all xfce-terminals only

I have two terminals installed, gnome-terminal and xfce4-terminal. I would like to have only the xfce terminal showing a simple > as prompt when I start it. The gnome-terminal should remain ...
0
votes
0answers
49 views

Bash Prompt : incorrect time displayed

Using the following prompt: export PS1="\n[$(date +%d-%m-%Y)] \u@\h [\t]\n{\w} [\!] # " and with TZ to my timezone : echo $TZ = America/Montreal The time on the prompt is OK at the start of a ...
0
votes
0answers
80 views

how to list all CNAMEs of the current server in the bash prompt?

I have servers with a generic names (e.g. eu1.example.com) which has a set of useful CNAME (e.g. mail.example.com, rocket.example.com). How can I list the CNAME in a bash prompt, to go from ...
0
votes
0answers
71 views

Can I test if command prompt support unicode in Windows

Is there a simple test (or trick) I can run on Windows command line to know if it supports unicode? For the context, I'm using Node.js - but I'm pretty confident I could adapt any solutions.
0
votes
0answers
93 views

Why is a “-1” appearing on right side of my zsh Terminal prompt?

Screenshot here I recently switched over from bash to zsh for my Terminal shell, however after using it for about a week this "-1" started appearing on the right hand side of my window. It get's ...