Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
lib
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Releases

No releases published

Packages

No packages published