progs/shell.c
author cu
Sat, 28 Oct 2017 00:05:02 +0100
changeset 560 85521d542da4
parent 221 ae6074cc446a
permissions -rw-r--r--
updated cw

#include <stdio.h>

int main()
{  char *name[2];
   name[0] = "/bin/sh";
   name[1] = NULL;
   execve(name[0], name, NULL);
}