Putting Processes in the Background Part 2 Linux Shell Script Tutorial

preview_player
Показать описание

Playlist

This video was sponsored by:
Karl Arvid
Steven C. Morreale

Рекомендации по теме
Комментарии
Автор

Hello Kris!
Actually in zsh you must put a "%" symbol before the job number when using the fg command. Example:

fg %1

to bring the job labelled [1] to the foreground. You can also just type in %1 and the fg command will be implied.

lucaug
Автор

What is the difference between: sleep 5; echo "hello" and sleep 5 && echo "hello"? I've always used && to do things sequentially before.

Oxygaunt
Автор

can you "1> /dev/null" the pid's? for sleep it's no problem, but it would null stdout for the echoes also, right... how can we background and keep a clean term for semi-interactive scripts and logging 1> ? I use an uber-nooberific workaround and 2> /dev/null the gtk and transient parent errors... I would love to know the "right" way...

mordokai
Автор

Hey there, I voted for shell script over 2D game tutorials, and then suddenly I think that you should do both. You know?

dustycompiler