LinuxReviws.org --get your your Linux knowledge
> Linux Reviews > Manual Pages (man) >

argv0

run a program with a specified 0th argument


  1. argv0.1.man


1. argv0.1.man

Manpage of argv0

argv0

Section: User Commands (1)
Index Return to Main Contents
 

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)


 

Index

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO

This document was created by man2html using the manual pages.
Time: 17:30:17 GMT, October 23, 2013

Meet new people