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

Why are shell scripts used?

0 Answers  


What is a boot block?

0 Answers  


What is the use of "shift" command in passing parameters?

1 Answers  


What is use of "cut" command?

3 Answers  


When should shell programming/scripting not be used?

0 Answers  


What are "c" and "b" permission fields of a file?

0 Answers  


Devise a script that takes file name as arguement(which must present in the current directory)and locates from your home directory tree all thpath names of its links.Then mail the list to self.

0 Answers  


What is $1 in shell scripting?

0 Answers  


whta is the use of "exec" command?

1 Answers  


What are the different types of commonly used shells on a typical linux system?

0 Answers  


Why are there shells on the beach?

0 Answers  


What are the different variables present in linux shell?

0 Answers  


Categories