Documentation in progress ...
This is our final branch project at 42 School, an UNIX shell with several POSIX builtins.
$ git submodule update && git submodule init
$ make
$ ./42sh
make help
./42sh -h
-
Clipboard
- Copy :
CTRL + K
- Paste :
CTRL + P
- Cut :
CTRL + X
- Copy :
-
Selection mode
- Right :
CTRL + SHIFT + RIGHT ARROW
- Left :
CTRL + SHIFT + LEFT ARROW
- Right :
-
Move in line
- Start :
HOME
orCTRL + A
- End :
END
orCTRL + E
- Start :
-
Clear end of line :
CTRL + N
-
Move word
- Forward :
CTRL + F
- Backward :
CTRL + B
- Forward :
-
Clear screen :
CTRL + L
-
Move cursor in column
- Up :
SHIFT + ARROW UP
- Down :
SHIFT + ARROW DOWN
- Up :
This is a list of all builtins available in 42sh. Builtins options are POSIX compliant. See man for futher informations.
bg
cd [-PL]
echo
exit
export
fc [-e ename] [-lnr] [first] [last] or fc -s [pat=rep] [command]
fg
hash [-rl] [-p pathname] [-dt] [name ...]
jobs [-lp]
pwd [-PL]
set
test [-bcdefgLprSsuwxz=!=eqnegeltlw]
type
unset
...
TO DO :
- Hash map explanation + Flow chart
- LPA doc
- Jobs