Understanding Shells: Linux Sub Shells vs Child Shells

preview_player
Показать описание
In this video we look at comparing Linux sub shells vs child shells . Understanding the differences with sub shells and child shells and why we use each. We look at what is and isn't inherited when a new shell is created and how you know the type of shell you are running.

-~-~~-~~~-~~-~-
Please watch: "RHCSA 9 Working With Podman Containers"
-~-~~-~~~-~~-~-
Рекомендации по теме
Комментарии
Автор

another common usage is that when you use cd to loop through some directories, you don't need to cd back if you run each iteration as subshell

Klinoklaz
Автор

I love content like this, than you very much!

fraternitas
Автор

Hello Urban Penguin, I like your content. I am an entry-intermediate Linux engineer currently and looking at courses/certifiaction to develop my career.

Which certification would you recommend me pursuing first ? I've been looking at Comptia Linux + XK0-005 and LPI Essentials or LPIC-1

humblefox
Автор

at 6:11 the variable FRUIT is first expanded by the parent shell and the whole subshell is executed. the last echo in the the subshell is 'echo apple' and not echo $FRUIT. The shell bash do the variable expansion before the process expansion. So the when you say the variable are automticly exported in subshell, is not the right exemple...

topklean