GNU.WIKI: The GNU/Linux Knowledge Base

  [HOME] [PHP Manual] [HowTo] [ABS] [MAN1] [MAN2] [MAN3] [MAN4] [MAN5] [MAN6] [MAN7] [MAN8] [MAN9]

  [0-9] [Aa] [Bb] [Cc] [Dd] [Ee] [Ff] [Gg] [Hh] [Ii] [Jj] [Kk] [Ll] [Mm] [Nn] [Oo] [Pp] [Qq] [Rr] [Ss] [Tt] [Uu] [Vv] [Ww] [Xx] [Yy] [Zz]


NAME

       argv0 - run a program with a specified 0th argument

SYNOPSIS

       argv0 realname zero [ arg ...  ]

DESCRIPTION

       argv0  runs  the  program  stored  as  realname on disk, with the given
       arguments.  It sets the 0th argument of the program to zero.

       For example,

            argv0 /bin/csh -bin/csh

       runs /bin/csh with a 0th argument of -bin/csh.  csh will think it is  a
       login shell and behave accordingly.

       argv0 can be used to run some inetd wrappers under tcpserver.

SEE ALSO

       csh(1), tcpserver(1), execve(2), execvp(3), inetd(8)

                                                                      argv0(1)



  All copyrights belong to their respective owners. Other content (c) 2014-2018, GNU.WIKI. Please report site errors to webmaster@gnu.wiki.
Page load time: 0.087 seconds. Last modified: November 04 2018 12:49:43.