Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to change our default shell?

Answers were Sorted based on User's Feedback



How to change our default shell?..

Answer / 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

How to change our default shell?..

Answer / balaji t

Using 'chsh'

chsh -s <shell_name>

Is This Answer Correct ?    3 Yes 1 No

How to change our default shell?..

Answer / aditya

for root using sam define shell u want to use.
for temporary
user can change using chsh command

Is This Answer Correct ?    0 Yes 0 No

How to change our default shell?..

Answer / tony

The real answer may be, to ask whoever has access to ROOT, to set your default Shell to another one. He or she should not do that, at least before asking you : why ?
Additionally, he would still be reluctant of making any changes, because of the impact it can have.
In normal situations, the correct Shell is setup at user setup, and is never changed. Command to do that are USERADD and USERMOD (and other I'm sure).

Is This Answer Correct ?    0 Yes 0 No

How to change our default shell?..

Answer / guest

By changing the environmental variable SHELL.

Is This Answer Correct ?    1 Yes 7 No

Post New Answer

More Shell Script Interview Questions

What does $0 mean in shell script?

0 Answers  


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

0 Answers  


What makes c shell a more preferable option than the bourne shell?

0 Answers  


Create a bash shell script that removes all files whose names end with a "~" from your home directory and subdirectories. Name this script "cleanup.sh"

6 Answers  


What is bash shell command?

0 Answers  


What is the syntax of "expr" command?

2 Answers  


How would you print just the 25th line in a file using smallest shell script?

4 Answers  


What is batch file programming?

0 Answers  


How to print some text on to the screen?

2 Answers  


how to get part of string variable with echo command only?

0 Answers  


How can I Debug a shell scripts and Perl scripting?? or How do you debug a shell scripting and perl scripting ( at the compile time error or run time error) in Unix environment ?

4 Answers  


I have 2 files and I want to print the records which are common to both.

0 Answers  


Categories