How to change our default shell?

Answer Posted / siba sankar nayak

Normally the diffault shell can not be changed by user in
Solaris system. Because chsh command is not available in
Solaris environment. But one can change the default shell
in Linux environment by using following command.

chsh -s /bin/ksh
After issuing this command it will ask for passeord and if
password is given successfully then default shell will be
changed. Here you have to give the full path of shell.

Regards
Siba

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many fields are present in a crontab file and what does each field specify?

860


What is shell and terminal?

747


What is shift command in shell script?

738


What is a scripting language simple definition?

806


is this growing field and what is average package in this?

2083


Is shell scripting useful?

812


What's the difference between scripting and coding?

814


What is ms powershell?

790


What does the sh command do?

822


How to get the first line from a file using just the terminal?

827


i have 2 tables 4 colums table 1 respective values a1 6, a2 8,a3 9,a4 14 & table 2 respective values a1 6, a2 8, a3 9, a4 12. if compare 2 tables 3 colums values same then 4th column values 1)Qes diff >5 then (5 * diff value ) 2)Qes diff <5 the 5 3)Qes diff 5 then 5 print respective values..

1961


Tell something about the super block in shell scripting?

797


What is difference between shell and bash scripting?

731


Rewrite the command to print the sentence and convert the variable to plural: echo “i like $variable”.

824


What is shell prompt?

744