lkml.org 
[lkml]   [1999]   [Mar]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: #!perl - alternative path to script interpreters - patch to 2.2


On Sun, 21 Mar 1999, Pavel Machek wrote:

> You want people to write
> #!perl
>
> instead of
>
> #!/path/perl
>
> . Ok. Make them write
>
> #!/etc/shells/perl
>
> instead, and make sure /etc/shells contains right symlinks. No kernel

... so that it would *definitely* break on Linux too ;-/
$ cat /etc/shells
/bin/ash
/bin/bash
/bin/csh
/bin/sh
/usr/bin/es
/usr/bin/ksh
/usr/bin/rc
/usr/bin/tcsh
/usr/bin/zsh
$ man chsh
[snip TFM]
FILES
/etc/passwd - user account information
/etc/shells - list of valid login shells
[snip TFM]


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.454 / U:1.496 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site