Suppose that you want change your login shell to Bash. What command will you use to do so? What command would you need to use on a networked system?
What will be an ideal response?
You can change your login shell to another shell by running the chsh command. It prompts you for your password, follwed by the full pathname for the new shell. The following session shows an example. The default shell is TC shell and we change it to Bash. We use the cat /etc/passwd | grep msarwar command to display the entry for msarwar in the /etc/passwd file; the last (highlighted) field in the pathname for the new login shell. It will be effective with your next login.
% chsh
Changing shell for msarwar.
Password: ********
New shell [/bin/tcsh]: /bin/bash
Shell changed.
% cat /etc/passwd | grep msarwar
msarwar:x:608:200:Syed Mansoor Sarwar:/home/faculty/msarwar:/bin/bash
%
You might also like to view...
If you wanted to display just the month in a date, you would use the ________ function
Fill in the blank(s) with correct word
The ________ is also known as the wireless network name
a.domain b.homegroup c.service set identifier d.wireless access point