answersLogoWhite

0


Best Answer

There isn't a concept of a 'default' shell in Unix; you may have a login shell specified by the system administrator for use when you log in. Although it isn't a fool-proof way to find your shell, you could use the command:

echo $SHELL

or use the 'finger' command to see what your default login shell environment is. You could also 'grep' for your information in the password file because the last field is your login environment shell.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the Command to display the default shell in unix?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is a Unix 'default shell'?

The a default Unix shell is the shell that comes with and is activated initially with your distribution of Unix. The shell is essentially the program the runs the command line interface allowing someone to interact with their computer. Some examples are the Bourne-Again shell (bash) or the Bourne shell (sh).


What is the default Unix shell?

There is no "default" Unix shell. Different Unix vendors shipped different shells.


WHO will give default shell in unix?

The 'who' command merely tells you the users that are logged in and when they logged in. It doesn't give any more information. The default shell for Unix can be different for different users; if you are talking about the login shell, then you can find out the login environment for users by either using the 'finger' command on an individual user, or looking at the /etc/passwd file. It will be the last field on each line for each user.


Write a UNIX command to display the current date in the form ddmmyyyy?

UNIX command to display the current datedate +'%d/%m/%Y'Niraj sharma


What shell was developed as the first UNIX command processor?

The first command shell was 'sh', the Bourne shell (Steven Bourne).


Which command is used to get out of unix environment?

Typically the 'exit' command gets you out of the current shell environment you are in; if this is the login shell then you will be logged out of the system.


How do you change the root shell in unix?

Your login shell can be changed by using the chsh or ypchsh command.


What is a command in Unix?

Essentially, a command in Unix is a program that you execute for a certain purpose. It could be anything, from a shell script, to copying or deleting files, etc.


What the HECK is 'BASH'?

On a computer Bash is a Unix shell and command language.


Where will the default shell stored in unix?

This question is hard to answer because there is no concept of a default shell. Most shell interpreters may be stored in /bin, or /usr/bin, or some combination of those.


Where can you get a Unix shell for Windows?

A Unix shell can be obtained in Cygwin, a Unix compatibility layer used to compile Unix programs and run them on Windows. Microsoft also makes a shell known as "Windows PowerShell" which incorporates more Unix-like features than the standard command prompt.


What is the command echo in unix mean?

it is a command in unix and unix like operating systems that places a string on the computer terminal.It is typically used in shell scripts and bath files screen or a file.