debian man page for argv0

Query: argv0

OS: debian

Section: 1

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

argv0(1)						      General Commands Manual							  argv0(1)

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)
Related Man Pages
ssh-argv0(1) - linux
ssh-argv0(1) - mojave
ssh-argv0(1) - plan9
ssh-argv0(1) - xfree86
ssh-argv0(1) - osf1
Similar Topics in the Unix Linux Community
calling an expect script from another script (sh)
Shell Script to Automatically Read My Password
Using expect command, spawn will not start sftp process
Expect script called in loop from Bash Script
Expect script to save configuration from a router