answersLogoWhite

0

WHO will give default shell in unix?

Updated: 8/16/2019
User Avatar

Wiki User

14y ago

Best Answer

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.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: WHO will give default shell in unix?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the default Unix shell?

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


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


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.


What is the Command to display the default shell in unix?

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.


What is the default history size in unix?

It depends on the shell you are using, but a standard seems to be 1024 of the last commands.


What are the two c shell script files that are automatically executed when logging into a unix system when your default login shell is set to the c shell?

The local user files that are read are the .login and the .cshrc files


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.


Original UNIX shell?

The first shell was 'sh', the Bourne Shell


What shell was written by David Korn for Unix?

The Korn shell.


In UNIX what is default output device?

No vaselating' what the default output device means is newtral...


What is the Z shell?

The Z shell is a Bourne-compatible shell for Linux and Unix systems.


I am currently using windows XP2. For practice purpose i want to use UNIX shell scripting. Without installing UNIX OS how can i use the UNIX shell scripting?

You should be able to download the Unix Services for Windows, version 3.5, from Microsoft (free). There are other shell emulators that are available for Windows, which would allow you to use Unix type shell scripting without installing any additional OS. Your question about "virtual UNIX" is unclear ..