linux shell
compile: gcc shell.c -lreadline -o shell
run: ./shell
- <stdio.h>
- <string.h>
- <stdlib.h>
- <unistd.h>
- <sys/types.h>
- <sys/wait.h>
- <readline/readline.h>
- <readline/history.h>
for retrieving hostname and ip address - <errno.h>
- <netdb.h>
- <sys/types.h>
- <sys/socket.h>
- <netinet/in.h>
- <arpa/inet.h>