-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathman_1_simple_shell
48 lines (31 loc) · 1.19 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
.TH SHELL 1 "NOVEMBER 4, 2021" "alx-Hoberton-School" "0x16"
"1.01" "C - simple_shell - man page"
.SH NAME
.B simple_shell \- simple UNIX command interpreter made in C
.SH SYNOPSIS
$ /hsh [options] [file]
.SH DESCRIPTION
Simple_Shell is a command language interpreter that executes commands read from the standard input.
Clone of sh
.SH Return Value
Always returns the status of the previously executed command ( 0 if no command was executed) , number means exit fail codes
.SH PATH
looks in PATH env variable for executable program file location.
.SH
.B Invocation
.in +2n
simple_shell can be invoked both interactively and non-interactively.
If invoked with standard input not connected to a terminal, it reads and executes received commands in order.
If simple_shell is invoked with standard input connected to a terminal, an interactive shell is opened.
When executing interactively, the simpl_shell displays the prompt \"($) "\ when it is ready to read a command.
.SH OPTIONS
.B simple_shell
Command options will be typed after the main command followed by a space and a
'-' symbol.
.SH EXAMPLE
./hsh [command] [options]
$ ls -l
.SH BUGS
not many found.
.SH AUTHOR
Bright Uzosike, Eke Timothy.