All Questions
6
questions
2
votes
0
answers
239
views
Why can't I send a post request to my server after SSH logout?
I've created a .jar file which listens on port 8089 and receives post requests. I start it in the background on my linux machine with the following commands:
nohup java -jar myServer.jar &
[1] ...
3
votes
2
answers
6k
views
How can I access a Vim process after closing its terminal on macOS?
This what I get when I run the ps command:
$ ps
PID TTY TIME CMD
14777 ttys000 0:00.25 -bash
19716 ttys000 0:00.15 vi templates/base.html
8240 ttys001 0:00.11 -bash
8284 ...
4
votes
2
answers
6k
views
Processes do not respond to my signals
I have a strange behavior on my system.
When I invoke a command in the shell (bash version 4.2.45(1)-release), say top or cat, the running program (the process) does not respond to Ctrl+C. I even ...
2
votes
2
answers
1k
views
How to stop a infinite running process (ztail) started by a ssh session after that session is closed
I have a peculiar problem. My server supports multiple ssh session simultaneously, so that multiple admins can manage (via command line interface) it simultaneously. We have a command which calls ...
160
votes
5
answers
275k
views
How do I attach a terminal to a detached process?
I have detached a process from my terminal, like this:
$ process &
That terminal is now long closed, but process is still running, and I want to send some commands to that process's stdin. Is ...
460
votes
11
answers
668k
views
How can I run a command which will survive terminal close?
Sometimes I want to start a process and forget about it. If I start it from the command line, like this:
redshift
I can't close the terminal, or it will kill the process. Can I run a command in such ...