-
Notifications
You must be signed in to change notification settings - Fork 1
/
man_1_simple_shell
executable file
·54 lines (27 loc) · 1.28 KB
/
man_1_simple_shell
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
.TH simple_shell "1.0" "26 November 2020" "simple_shell man page" "simple_shell man page"
.SH NAME
.B simple shell
- a standard command interpreter that reads commands from standard input and executes them.
.SH SYNOPSIS
#include "holberton.h"
.PP
.shell
.PP
shell [option_name] [argument ...]
.SH DESCRIPTION
shell is a command programming language that executes commands read from a terminal standard input. It is the program that is running when a user logs into the system. After receiving a command, the shell tokenizes it into words using as a delimiter. The first word is considered the command and all remaining words are considered arguments to that command.
.SH RETURN
Upon successful return 0, If the program fails due to command is entered incorrectly or does not exist in the $PATH, return error and exit.
.SH BUILT-INS
.PP
env - When entered, shell prints the current environment to standard output.
.PP
exit - When entered, shell exits the shell program.
.SH ALSO SEE
man sh
.SH NOTES
All files and code used were created and compiled on Ubuntu 14.04.4 LTS using GCC 4.8.4
.SH BUGS
There are many features and builtin commands that are not implimented in this simple shell such as aliases, cd, and logical operators.
.SH AUTHOR
Roberto Ribeiro and Luciana Sarachu.