53GB

Login And Non-login Shells In Linux: What's The Difference?



Login And Non-login Shells In Linux: What's The Difference?

In Linux we have both Login and Non-Login Shells. The Linux scripts they run are different and you may need to know how you can identify each type. Using the ps command we can see login shells are prefaced with a dash and non-login shells are not. The login shell will run the .profile script and the non-login shell the .bashrc script.
Additionally you can find my video courses on Pluralsight: http://pluralsight.com/training/Authors/Details/andrew-mallett and take time to see my own site http://www.theurbanpenguin.com

Exit mobile version