Difference between revisions of "Disown"

From wikieduonline
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]]
* <code>[[bg]]</code>
 
* [[Bash]]
 
* <code>[[jobs]]</code>
 
  
 
== 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]

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: