Kevin Deldycke - echo Yak ShaverSun, 28 Feb 2010 12:39:32 +0100System & Shell Commands<ul> <li> <p>Run a process detached to the current&nbsp;terminal:</p> <div class="highlight"><pre><span></span>$ nohup my_command <span class="p">&amp;</span> </pre></div> </li> <li> <p>Run a process with a shell for a system user which has none (i.e. its default shell is set to <code>/bin/false</code> in <code>/etc/passwd</code>):</p> <div class="highlight"><pre><span></span>$ su sys_user -s /bin/bash -c <span class="s2">&quot;my_command&quot;</span> </pre></div> </li> <li> <p>Get the exit code of the latest …</p></li></ul>Kevin DeldyckeSun, 28 Feb 2010 12:39:32,2010-02-28:/2010/02/system-and-shell-commands/CLIechokernelLinuxnohupshellsystemcronRegular expression