Day 2 Learning Linux
There was a big gap between Day 1 & 2 on the writings. Maybe, I should change the title to weekly notes.
So, instead of writing command notes, I now prefer to write in a narrative story-telling way about Linux.
What is Kernel?
What you sow is what you reap
But you may ask what it has to do with Linux! You would have heard the words βrootβ , βkernelβ and βshellβ. Now getting on to the topic, Linux is referred many time as kernel. Kernel in plain English is the seed. Just think of it like paddy, seed of a rice covered by a shell of husk. And when the kernel is sowed, a single seed will bear into many. In such a way, here in Linux, Kernel being the central process of an operating system manages the operation connecting with the hardware.
You got SUed!
When we combine the command su with sudo, it switches user. As we know sudo command provides a higher privileged access to whoever added to the sudoers group, so when you type sudo su followed by the username you want to login to that user account by providing that userβs password. Now, if you try βsudo su -β and the user name, surprisingly you will notice the ~ tilde is still present in the terminal notifying you that you still present in your home directory but logged in to the other user account.
I will stop here to find yourself on the answer. If you get the answer before my second write-up, please feel free to discuss with me.
Bye for now!!!