08-17-2011
Get all types of shell supported on any unix flavors.
Hello - Is there a command/way we can find out, what shells are supported on a Unix machine?
Please let me know.
Thanks,
Manju
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I would like to know as what all Unix types can be installed on PC, i.e. Intel Pentium processor and having HDD of let us say 4 GB or so? What RAM would be sufficient? I know for sure that Linux is free and can be installed on PC, can some one tell about other UNIX types which can be obtained for... (3 Replies)
Discussion started by: SANJAY
3 Replies
2. UNIX Desktop Questions & Answers
Are there any flavors of UNIX which are better suited for implementation in the field of 3d animation, if so what are they? (3 Replies)
Discussion started by: aloysius1001
3 Replies
3. UNIX for Dummies Questions & Answers
Hello,
I've search this site many times and ave not been able to find my answer. So I'm going to post my question....(duh)
Ok.
I'm wanting to know what file types does unix support.
if you can try and list them like this:
php, .php
or somthing like that.
plus don't forget that I said I... (3 Replies)
Discussion started by: dgames
3 Replies
4. UNIX for Dummies Questions & Answers
could anybody tell me what is a unix flavor? (4 Replies)
Discussion started by: human
4 Replies
5. UNIX for Dummies Questions & Answers
Whenever I relaunch my terminal application on Mac OS 10.4.6, the shell changes to something different. E.g. I used to work in "sh" and then relaunch, I am suddenly in "bash" mode and none of the most basic commands work anymore. Why can't the unix community agree on one single type of shell?? As... (1 Reply)
Discussion started by: PixelLover
1 Replies
6. UNIX for Dummies Questions & Answers
how to know the list of all commands supported by unix.
how to know the list of functions supported by unix. (4 Replies)
Discussion started by: Gopi Krishna P
4 Replies
7. Shell Programming and Scripting
Hi ,
I need to run a script on different flavors, namely
1) Linux
2) AIX
3) Solaris
4) HP-UX
Almost the entire script is the same except at a few places where commands specific to that OS are to be run. Is it possible to have a single script that runs on all the platforms?
Sth... (5 Replies)
Discussion started by: tcsprak
5 Replies
8. UNIX for Dummies Questions & Answers
Hello everyone. This is an awesome forum. Glad to have joined! :)
I use Linux mostly, even for Desktop usage. I just love everything about it, all the way down to how the font looks while browsing. Its just so sleek and sexy.
But I also boot Windows for those programs I just need that only... (23 Replies)
Discussion started by: insomnia
23 Replies
9. Shell Programming and Scripting
Hello All,
I am in process of migrating all my scripts from AIX box to Linux box. In one of my script I calculate my last week date with the below command
$ TZ=EDT+172 date +%F
2012-12-13
$ uname -a
AIX 1 7 000B29AAD400
Now when I tried running the same in Linux, it gives a false... (2 Replies)
Discussion started by: sathyaonnuix
2 Replies
CHSH(1) User Commands CHSH(1)
NAME
chsh - change login shell
SYNOPSIS
chsh [options] [LOGIN]
DESCRIPTION
The chsh command changes the user login shell. This determines the name of the user's initial login command. A normal user may only change
the login shell for her own account; the superuser may change the login shell for any account.
OPTIONS
The options which apply to the chsh command are:
-h, --help
Display help message and exit.
-R, --root CHROOT_DIR
Apply changes in the CHROOT_DIR directory and use the configuration files from the CHROOT_DIR directory.
-s, --shell SHELL
The name of the user's new login shell. Setting this field to blank causes the system to select the default login shell.
If the -s option is not selected, chsh operates in an interactive fashion, prompting the user with the current login shell. Enter the new
value to change the shell, or leave the line blank to use the current one. The current shell is displayed between a pair of [ ] marks.
NOTE
The only restriction placed on the login shell is that the command name must be listed in /etc/shells, unless the invoker is the superuser,
and then any value may be added. An account with a restricted login shell may not change her login shell. For this reason, placing /bin/rsh
in /etc/shells is discouraged since accidentally changing to a restricted shell would prevent the user from ever changing her login shell
back to its original value.
FILES
/etc/passwd
User account information.
/etc/shells
List of valid login shells.
/etc/login.defs
Shadow password suite configuration.
SEE ALSO
chfn(1), login.defs(5), passwd(5).
shadow-utils 4.5 01/25/2018 CHSH(1)