33 votes

How can I resume a stopped job in Linux?

If you didn't launch it from current terminal, use ps aux | grep <process name> to find the process number (pid), then resume it with: kill -SIGCONT <pid> (Despite the name, kill is ...
mahemoff's user avatar
  • 1,063
7 votes

How do I detach from a controlling terminal from the command line?

The utility setsid on Linux can do this. On Fedora it's part of the util-linux package. This is the same package that contains things like mount, mkfs, /usr/bin/kill, and other similar things.
Omnifarious's user avatar
3 votes

How to dynamically add tasks to a PowerShell job queue

My thought is to establish a queue by creating one lock file per new instance of your script. When the script runs, it checks a directory dedicated to tracking the queue for existing instances of the ...
root's user avatar
  • 3,730
2 votes

How to run programs from a linux terminal without blocking the terminal?

In Ubuntu 16.10 I can't get the ctrl + Z thing mentioned in an other answer to work, but program & ^C Does work for me, in other words, ctrl + c after you start the program with a trailing ...
Gemtastic's user avatar
  • 301
1 vote

What's the difference between: a program, process, job, service, daemon, script, command?

A program is a kind of master that can run different processes. Processes are typically invoked by a program. The user does not start a process but a program. A job is just a scheduled program. ...
r2d3's user avatar
  • 3,579
1 vote

Open (default) browser from background job in Powershell class method?

Powershell does not prevent opening browsers inside a method inside a class inside a job. I had incorrectly and with overconfidence assumed no other changes would happen when switching from normal ...
a.t.'s user avatar
  • 413
1 vote
Accepted

How do I detach from a controlling terminal from the command line?

This is a FreeBSD solution, but perhaps a similar technique will work for your OS. I know cron isn't exactly the command line, but if you have a specific command list you want to run, cron can do ...
Jim L.'s user avatar
  • 859

Only top scored, non community-wiki answers of a minimum length are eligible