-
Notifications
You must be signed in to change notification settings - Fork 0
/
man_1_simple_shell
67 lines (40 loc) · 1.83 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
.TH man simple_shell "December 15, 2022" "version 1.0"
.SH NAME
.B Simple Shell (hsh)
- command interpreter (shell)
.SH SYNOPSIS
.PP
.B ./hsh
.PP
.B
.SH DESCRIPTION
This program simulates a command interpreter based in Unix and GNU/LINUX with its basic commands.
The Simple Shell is a command line interpreter that reads lines from the terminan \ , and executes them, and generally executes other commands.
It also has features to aid interactive use and has the advantage that the interpretative language is common to both interactive.
.PP
.SH EXAMPLE:
.B The intercative mode :
$ ./hsh
.B The not intercative mode :
echo "/bin/ls" | ./hsh
.SH FEATURES
* This program displays a prompt and wait for the user to type a command. A command line always ends with a new line (when user push ENTER key).
* The prompt is displayed again each time a command has been executed.
* When the user enters exit, Hell shell will end and returns the status 0.
* The user could stop the program using Ctrl+D (end of file).
* The shell handles command lines with arguments and pathways.
* The program does not quit when the user inputs ^C (Ctrl+C).
* The program prints the current enviroment when the user types env.
* This program executes the most common shell commands as ls, grep, find, pwd, rm, cp, mv, exit, env, history, etc... with arguments.
* If an executable cannot be found, It prints an error message and display the prompt again
* This shell does NOT support pipes |, shell logical operators as && or ||, neither commands separator ;.
.PP
.B Simple Shell has two built in commands: \
.PP
env - Displays all the environment variables with their values
.PP
exit - To logout of the shell.
.SH BUGS
No known bugs at this time.
.SH AUTHOR(S)
Milton Obed Rayo - Maria Jose Murillo R.