scratch/content/html/en/blog/2009-10-launch-daemon-from-command-line.md

27 lines
626 B
Markdown
Raw Normal View History

2010-02-17 12:27:01 +00:00
-----
isHidden: false
menupriority: 1
kind: article
created_at: 2009-10-23T10:53:16+02:00
2010-02-17 12:27:01 +00:00
title: launch daemon from command line
tags:
- zsh
- shell
- script
- tip
-----
Here is a tip, I don't know why, but I almost always forgot how to do that.
When you want to launch a command and this command should not be killed after you close your terminal. Here is how to accomplish that from command line:
2010-04-15 09:45:50 +00:00
<div><code class="zsh">
2010-02-17 12:27:01 +00:00
nohup cmd &
</code>
<small>where <code>cmd</code> is your command.</small>
</div>
I let this command here for me and I wish it could also help someone.