Difference between revisions of "Disown"
Jump to navigation
Jump to search
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | {{lowercase}} | ||
[[wikipedia:disown (Unix)]] in the Unix shells [[ksh]], [[bash]] and [[zsh]], the disown [[builtin]] command is used to remove [[jobs (Bash)|jobs]], from the job table, or to mark jobs so that a [[SIGHUP]] signal is not sent to them if the parent shell receives it (e.g. if the user logs out). | [[wikipedia:disown (Unix)]] in the Unix shells [[ksh]], [[bash]] and [[zsh]], the disown [[builtin]] command is used to remove [[jobs (Bash)|jobs]], from the job table, or to mark jobs so that a [[SIGHUP]] signal is not sent to them if the parent shell receives it (e.g. if the user logs out). | ||
Line 5: | Line 6: | ||
-bash: disown: 2322117: no such job | -bash: disown: 2322117: no such job | ||
+ | [[disown -a]] && exit | ||
== Related terms == | == Related terms == | ||
* <code>[[reptyr]]</code> | * <code>[[reptyr]]</code> | ||
* <code>[[nohup]]</code> | * <code>[[nohup]]</code> | ||
+ | * <code>[[jobs]]</code>: <code>[[bg]]</code> | ||
* [[POSIX]] | * [[POSIX]] | ||
− | |||
− | |||
− | |||
== See also == | == See also == | ||
+ | * {{jobs (linux)}} | ||
* {{tmux}} | * {{tmux}} | ||
* {{Bash}} | * {{Bash}} |
Latest revision as of 17:25, 2 August 2022
wikipedia:disown (Unix) in the Unix shells ksh, bash and zsh, the disown builtin command is used to remove jobs, from the job table, or to mark jobs so that a SIGHUP signal is not sent to them if the parent shell receives it (e.g. if the user logs out).
disown 2322117 -bash: disown: 2322117: no such job
disown -a && exit
Related terms[edit]
See also[edit]
jobs
,jobs -l, bg
,fg
,disown
,wait
,nohup, kill, trap
tmux
[ ls | a | new ]
,.tmux.conf, tlog, cockpit
Bash [ -c ]
,alias
,&&
, Bash history, Autocompletion,set
,unset
,export
,.bash_aliases, .bashrc and .bash profile
,PS1
,echo
,brace expansion
, Function,shopt
,trap
,set -e
,source
,PATH
,complete
,disown
,.hushlogin
,.bashrc
,builtin
,eval
,set
,$PATH
,$HOME
,TZ
,.profile
,-e, -i
,Builtin (Bash)
,mapfile
,~
, return (Bash), for, until,declare, dirname, basename, functions.sh
, Bash arithmetic expansion,shift, bash --rcfile, readonly, $1, $@
Text is available under the Creative Commons Attribution-ShareAlike License; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy.. Source: wikipedia
Advertising: