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

Why is a script important?

781


What is computer cli?

684


How do I open a jshell in cmd?

893


Explain about the exit command?

777


What are the disadvantages of shell scripting?

885


What is meant by dos operating system?

829


How do we create command aliases in a shell?

747


What is .sh file in mac?

788


What is inside a seashell?

887


Is cmd a shell?

811


How will you copy a file from one machine to other?

794


What is the equivalent of a file shortcut that we have a window on a linux system?

854


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..

1976


What is in a script?

764


Why should we use shell scripts?

840