Re: How do I know which unix shell I am using.

From: Stephane CHAZELAS (this.address_at_is.invalid)
Date: 02/03/04


Date: Tue, 3 Feb 2004 15:00:26 +0100

2004-02-3, 05:32(-08), Raj:
> echo $SHELL

~$ bash -c 'echo $SHELL'
/bin/zsh

The SHELL variable is set by no shell I know, it's just used
by applications such as vi, ftp, xterm so that they know which
shell to run when requested. It's generally set by "login" based
on your passwd entry, but can be modified at your will.

-- 
Stéphane                      ["Stephane.Chazelas" at "free.fr"]


Relevant Pages

  • Re: Lightweight desktops?
    ... applications from the shell from an xterm. ... that mainly applies to my digital camera for me. ...
    (comp.os.linux.misc)
  • Re: Lightweight desktops?
    ... applications from the shell from an xterm. ... mounted external devices as icons. ...
    (comp.os.linux.misc)
  • Re: ftp nologin problem
    ... 530 Login incorrect. ... tell me how can I correct this problem cause I don't want to give user a shell. ... accounts can be used with FTP. ... rsync or scp over ssh. ...
    (freebsd-questions)
  • Re: Titel neben =?UTF-8?B?TWVuw7wgc3RhdHQgZGFyw7xiZXI6IEV1cmUgQmV3ZXJ0dW5nPw==?=
    ... das ist reine Haarspalterei. ... Manche FTP Server erlauben es, "virtuelle Verzeichnisse" zu bauen - also ... Shell und in der Shell führt der Client dann irgendwelche Befehle ... Das ist aber unabhängig von ssh und funktioniert z.B. mit rsh ...
    (de.comp.os.unix.apps.kde)
  • Re: Only an ftp account
    ... > You may also want to add that user to /etc/ftpchroot which will chroot ... >> How would I be able to give an account to someone where they can only ... >> login and use FTP? ... Let me just point out that just changing the shell to /sbin/nologin ...
    (FreeBSD-Security)