/* sh.c - Simple wrapper for "bash". */ /* "/bin/sh" is often implemented as a symbolic link to "/bin/ */ /* bash". We use this wrapper instead of a link so that "sh" */ /* invocations will process ".bashrc" commands. */ #include int main (int argc, char **argv) { argv [0] = "/bin/bash"; execv (argv [0], argv); return (0); }