The tag has no usage guidance.

learn more… | top users | synonyms

2
votes
1answer
41 views

On Windows, how can I gracefully ask a running program to terminate?

On Unix or Linux, it's easy to gracefully ask a running application to terminate: you send it the SIGTERM signal. If its process ID is 1234, you can simply run kill 1234 or kill -s TERM 1234 or kill ...
-1
votes
3answers
102 views

cmd-Difference between quit and exit

If you type telnet in cmd, you will have to type quit to get out of there, but if you type wmic, both quit and exit will work. Welcome to Microsoft Telnet Client Escape Character is 'CTRL+]' ...
1
vote
0answers
16 views

How do i exit a remote terminal connection?

I accidentally connect to a remote terminal called ruby 2.2.1 and now even after trying to quite and exit and logout overtime i open terminal it appears as [~] ruby 2.2.1$. How can i coerce it go ...
0
votes
1answer
246 views

GIMP Close edited image without asking for confirmation

I was able to disable the confirmation dialog when closing an image. I successfully did so at a previous version of GIMP but apparently an update to GIMP 2.8.14 (on Arch Linux) disabled it and I can't ...
1
vote
4answers
9k views

Shell script: ssh to remote machine, then exit: 'exit' does not work

I have a shell script of the following type: #!/bin/bash ssh mylogin@myremotemachine.com echo "Hi" exit I run it locally to do something on a remote server (represented by 'echo "Hi"'). However, ...
1
vote
2answers
159 views

Does Tor need more Relay node or Exit nodes? [closed]

If I have free bandwidth, am I better off sharing as a relay node or exit node? Trying to help the Tor network
8
votes
2answers
23k views

How to exit MySQL command prompt?

I have installed MySQL. Now I am stuck inside the MySQL command prompt. I ran MySQL like this: C:\>mysql.exe mysql> Then I type in some invalid command like this: mysql> /version ...
0
votes
2answers
362 views

When I grep no particular file the terminal stops working

I'm learning how to use the shell. In playing around with some basic commands I encountered an issue. This is pretty basic stuff and I apologize if that upsets some folk. On my desktop there exists a ...
0
votes
1answer
157 views

Why would Firefox put anything in the clipboard on exit?

I have an Autohotkey script that gets triggered whenever image data (not text or other data types) is copied to the clipboard. When I close Firefox, the script gets triggered. This doesn't make any ...
0
votes
1answer
736 views

Vista 64x Window Mail won't close the WinMail.exe process when exiting

I've been running Windows Mail fine on my Windows Vista 64 computer for several years. A few days ago, for no apparent reason, it began failing to stop its WinMail.exe process whenever I'd exit the ...
0
votes
2answers
335 views

Windows “Exit Explorer” option missing

I'm looking to "Gracefully Exit/Terminate" Windows Explorer either from the UI or possibly command line. There are many articles on the web which explain how to do this in various versions of Windows ...
2
votes
2answers
3k views

exit code 128, what's the reason?

As per definition exit code 128 means 'invalid exit argument'. But i always get 255 (Exit status out of range) in case argument is invalid like float number. Is this the proprietary implementation ...
1
vote
1answer
2k views

How can I execute a shell script without exit? (Mac OS X)

I'm making a shortcut icon on my Dock which opens a terminal window with some preconfigured environment variables. I made a script and dragged it into my Dock. It runs well, however it exits ...
3
votes
1answer
2k views

Pipe grep exit code away

When I need to suppress some kind of output e.g. foo | grep -v bar But foo gives sometimes only: bar bar bar... grep will return -1. How do I transform the exit code 1 to 0?
30
votes
5answers
27k views

How do I close the Terminal in OSX from the command line?

Why doesn't "exit" close a Terminal.app window on Mac OS X? $ exit logout [Process completed] Is there a way to close the window without using the mouse?