cat /etc/passwd|grep bash
The default user shell is set in the password file as an entry for each account.
/etc/profile# /etc/profile: system-wide .profile file for the Bourne shell and Bourne compatible shells (bash(1), ksh(1), ash(1), ...)
The 'who' command merely tells you the users that are logged in and when they logged in. It doesn't give any more information. The default shell for Unix can be different for different users; if you are talking about the login shell, then you can find out the login environment for users by either using the 'finger' command on an individual user, or looking at the /etc/passwd file. It will be the last field on each line for each user.
The shell is the interface between users and operationg systems..Kernel
The 'users' command should do that; you don't need to write a shell script to get that information in that format.
Users folder
By Default, Users have limited user rights to make most system changes. However, Guests are VERY limited than regular users.
A shell program is the interface between the user (environment) and the operating system (kernel). It allows users to specify commands and requests the operating system to execute them.
KERNEL and SHELL are two major program setsof Operating Systems.KERNEL governs the operations of a computer and SHELL enables Users to interact with Operating System.
Use the 'who', 'w', or 'users' command to find out who is logged in.
Only the files and programs that users specify are available offline
Default Settings is an extremely helpful feature of any operating system. Reason being is because default settings are the original settings that is a standard the computer can operate CORRECTLY by. Altering settings for your use is at your own risk, but if anything ever gets out of place or anything doesn't function properly due to a change or graphically default settings resets it to the program standards that at most cases are operational to users. To make it all short, if users need to reset options or forgot/messed with a computer setting, default settings make it helpful to correct those problems! Hope this helps!