Hacker News new | ask | show | jobs
by olog-hai 4585 days ago
This is incorrect and misleading right off the bat. Ctrl+Z does not "send process to background." You will almost always need to use the bg command for that after suspending the running program.
2 comments

Came here to say that and to add. Long list of commands with no explanation or details is minimally useful.

I challenge you to read a man page a week. Use that command every day that week. Find away to use it with two or three other commands you know. Breakdown tasks into units the size of commands you know. Fill in missing pieces with bash or scripting language of choice.

I've been using Linux since 2006... And only this year did I finally type 'man' into my terminal. I no longer use google for finding those sorts of things out.
it's wonderful isn't it?

don't forget to `man man`, and maybe `info info` too. knowing about man sections can be helpful as well.

Hey cool, I never knew there was bg to go with fg.

Ctrl Z is stop/suspend, unless the application has handling for that signal (e.g. lftp)

Now off to learn about disown, dtatch and nohup

SIGTSTP (which Ctrl-Z sends) is not the same as SIGSTOP (which always stops/suspends processes). There is always more to learn.
That's very useful too - http://stackoverflow.com/questions/11886812/whats-the-differ...

and then looking for a way to send everything via the keyboard brought me to http://superuser.com/questions/288772/shell-sigkill-keybindi...

> Hey cool, I never knew there was bg to go with fg.

`jobs` might be useful to you as well, in that case.