Skip to content

faille76/42sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

42sh

The 42SH is a Epitech project. This is to reproduce a UNIX shell in C.

42sh is a shell based on TCSH

Builtins

echo [-params] {string1} {string2} ...

setenv {variable name} {varialbe content}

unsetenv {variable name}

env

where {binary}

whoami

cd {directory | option}

which {command}

set {command}

unset {variable}

alias {alias name} {command}

history

jobs

fd {job id}

export {variable name}

sort [OPTION]... [FILE]

yes {string}

exit {return value}

pwd

Bonus

Auto-complétion / déplacement flèche

.42shrc

Other

Separator ;, || and &&

Multiple pipes

Redirections (< / << / > / >>)

Parenthesis

Environment variable

~ with users

Magic quotes (``)

Globbing (*)

Background (&)

PS1 with \u, \v, $?, \w, \l, \t

Scripting

Local alias with cwdcmd / postcmd / precmd / ignoreeof

History with !! !-x !x !command

You can see the manual

About

The 42SH is a Epitech project. This is to reproduce a UNIX shell in C.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published