If you’re using Bash, you can run disown -h job
disown [-ar] [-h] [jobspec ...]
Without options, each jobspec is removed from the table of active jobs.
If the-h
option is given, the job
is not removed from the table, but is
marked so that SIGHUP is not sent to
the job if the shell receives a
SIGHUP. If jobspec is not present, and
neither the-a
nor-r
option is
supplied, the current job is used. If
no jobspec is supplied, the-a
option means to remove or mark all
jobs; the-r
option without a
jobspec argument restricts operation
to running jobs.
Related Posts:
- How to download a file from server using SSH?
- How to reconnect to a disconnected ssh session
- Is it possible to detach a process from its terminal? (Or, “I should have used screen!”) [duplicate]
- Can you have more than one ~/.ssh/config file?
- Kill detached screen session [closed]
- How do I grep recursively?
- How do I grep recursively?
- How do I grep recursively?
- How do I use grep to search the current directory for all files having the a string “hello” yet display only .h and .cc files?
- SSH using python script
- How can I exclude directories from grep -R?
- How can I exclude directories from grep -R?
- mysql_config not found when installing mysqldb python interface
- Argument list too long error for rm, cp, mv commands
- Difference between using “chmod a+x” and “chmod 755”
- ssh: Could not resolve hostname [hostname]: nodename nor servname provided, or not known
- Pseudo-terminal will not be allocated because stdin is not a terminal
- X11 forwarding request failed on channel 0
- How to cat <
> a file containing code? - Extract file basename without path and extension in bash
- Given two directory trees, how can I find out which files differ by content?
- mysql_config not found when installing mysqldb python interface
- Diff command along with Grep gives “Binary file (standard input) matches”
- Pseudo-terminal will not be allocated because stdin is not a terminal
- screen Cannot open your terminal ‘/dev/pts/0’ – please check
- What is the difference between “#!/usr/bin/env bash” and “#!/usr/bin/bash”?
- connect to host localhost port 22: Connection refused
- What does `set -x` do?
- Command to change the default home directory of a user
- How to get the process ID to kill a nohup process?
- Using ls to list directories and their total sizes
- Getting stty: standard input: Inappropriate ioctl for device when using scp through an ssh tunnel
- Terminal Multiplexer for Microsoft Windows – Installers for GNU Screen or tmux
- What does “&” at the end of a linux command mean?
- Can’t remove a directory in Unix
- Syntax error near unexpected token ‘then’
- C fopen vs open
- Restarting cron after changing crontab file?
- How do I write stderr to a file while using “tee” with a pipe?
- cd into directory without having permission
- EC2 ssh Permission denied (publickey,gssapi-keyex,gssapi-with-mic)
- How to configure WP filesystem access in Linux (Ubuntu Server)?
- Copying a large directory tree locally? cp or rsync?
- Can I automatically add a new host to known_hosts?
- Moving an already-running process to Screen
- Environment variables of a running process on Unix?
- Permission denied (publickey). SSH from local Ubuntu to Amazon EC2 server
- In my /etc/hosts/ file on Linux/OSX, how do I do a wildcard subdomain?
- When does /tmp get cleared?
- Is it normal to get hundreds of break-in attempts per day?
- how to disable SSH login with password for some users?
- SSL Certificate Location on UNIX/Linux
- What does ‘set -e’ do, and why might it be considered dangerous?
- Keeping a linux process running after I logout
- Meaning of directories on Unix and Unix like systems
- How to remove empty/blank lines from a file in Unix (including spaces)?
- How to forcibly close a socket in TIME_WAIT?
- How to check if an RSA public / private key pair match
- how do you create an ssh key for another user?
- How can I rename a Unix user?
- How to re-order windows, change the scroll shortcut, and modify the status bar contents in GNU Screen?
- “POSSIBLE BREAK-IN ATTEMPT!” in /var/log/secure — what does this mean?
- How to get pid of just started process
- Does getting disconnected from an SSH session kill your programs?
- Can I send some text to the STDIN of an active process running in a screen session?
- How to disable everything in crontab -l?
- SSH from A through B to C, using private key on B [closed]
- Show all users and their groups/vice versa
- SSHFS mount that survives disconnect
- Temporarily ignore my `~/.ssh/known_hosts` file?
- How can I fully log all bash scripts actions?
- How to sort ps output by process start time?
- What’s wrong with always being root?
- Hundreds of failed ssh logins
- protocol version mismatch — is your shell clean?
- What’s a .sh file?
- sudo: npm: command not found
- No space left on device
- can’t remove python pip
- Post request with Wget?
- Is there an alternative sleep function in C to milliseconds?
- Gedit command not working in kali linux terminal
- Curl : connection refused
- Bash export command
- How to edit gitignore file
- Adding a new entry to the PATH variable in ZSH
- How can I sort du -h output by size
- What exactly do the colors in htop status bars mean?
- How do I change my private key passphrase?
- Showing total progress in rsync: is it possible?
- How to bind MySQL server to more than one IP address?
- LVM dangers and caveats
- How to know from which yum repository a package has been installed?
- tar – Remove leading directory components on extraction
- How to list Apache enabled modules?
- How can I monitor hard disk load on Linux?
- What’s the reverse DNS command line utility?
- How to add a security group to a running EC2 Instance?
- How bad is it really to install Linux on one big partition?
- How do I extract login history?