01-28-2009
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Anyone know any good website with a step by step instructions on writing Perl GUI scripts with Tk ??? (3 Replies)
Discussion started by: perleo
3 Replies
2. Programming
Is anybody know sites with the listings of simple programs for Linux (in text mode) (0 Replies)
Discussion started by: Studenttt
0 Replies
3. News, Links, Events and Announcements
Hi everyone, I created a nice little shell scripting tutorial. I don't know if I'm allowed to post it here or not, but if so, here's the link:
http://www.dreamsyssoft.com/shell_prog.jsp
If not, sorry, just delete the post I guess.
-- Rocky (2 Replies)
Discussion started by: rockytriton
2 Replies
4. Shell Programming and Scripting
Hello.
I need a good & complete Bourne shell tutorial.
Please, can anyone help me to find it?
Thanks. (1 Reply)
Discussion started by: jag
1 Replies
5. Shell Programming and Scripting
I have 5 public websites (2 different datacenters)
1. production datacenter
2. Backup datacenter.
I have a global site selector which will load balance the site based on availability and load. I would like to have a script that can tell me exactly where my sites are in 2 columns.
... (2 Replies)
Discussion started by: kmaq7621
2 Replies
6. Shell Programming and Scripting
Hi All,
I have started preparation of Shell script...Can anybody send me the link
where I can get a right tutorial or pdf file of shell script...
Thanks in Advance (2 Replies)
Discussion started by: kunalpatil09
2 Replies
7. UNIX for Dummies Questions & Answers
hey guys,
what is prolly the best way to learn bourne shell programming the easy way?
I found many tutorials but I just cant seem to decide / chose which one is the best and suits my needs.
could you recommend me some tutos?
thanks (1 Reply)
Discussion started by: genius90
1 Replies
8. Web Development
A number of people have asked me how to get started with Vue.js and my reply before today was to Google "Vue.js". That has changed and my recommendation to anyone who wants to learn the fastest growing, easiest to learn and use Vue.js web dev framework is to watch this video tutorial series:
... (0 Replies)
Discussion started by: Neo
0 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.1.5.1 05/25/2012 CHSH(1)