On Sun, 30 Mar 2003, L. just had to get this off his chest:
I'm looking for the bash equivalents of two OS/2 command line features for running programs, "Start" and "Detach". I am probably missing the obvious, but I don't see the equivalent in the bash man pages.
Under OS/2, running "start program.exe" from a command prompt launched the application and freed up the command prompt for additional input immediately. Like in Linux, if you just ran "program.exe" at a command prompt, you no longer had use of the command prompt until you exited the program.
Similarly, "detach program.exe" also launched the program and gave the user immediate access to the command prompt. But "detach" was used only for those programs that did not require any keyboard or mouse input, nor any screen output, to run. Under Windows, this would be called "Run as a Service."
Are there Linux equivalents to these commands?
The foreground and background process uses and commands have been explained already. SuSE also has the "startproc" and "killproc" commands to force a process to the background or end it. These would I think be equivelant to OS/2s detach. See 'man startproc' Theo -- Theo v. Werkhoven Registered Linux user# 99872 http://counter.li.org ICBM 52 13 27N , 4 29 45E. SuSE 8.0 x86 Kernel k_Athlon 2.4.19-4GB See headers for PGP/GPG info.