Skip to content
This repository has been archived by the owner on Oct 22, 2022. It is now read-only.
/ 42sh Public archive

Linux shell

Notifications You must be signed in to change notification settings

ArthurJourdan/42sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

42sh

EPITECH - First year project : Linux shell

Features

Command interpreter

ls

/usr/bin/ls

./42sh

Builtins

commands

cd ; env ; setenv ; unsetenv ; history ; where ; which ; alias ; echo ; exit

Logic gates

cat my_file || echo "file not found"

touch my_file && ls

Redirections

echo something > my_file

echo some_more >> my_file

cat < my_file

cat << EOF

Pipes

cat my_file | grep thing

Backticks

cat `find . -name my_file`

Globbing

ls *
ls file.?pp
ls file.[a-z]

Semicolons

cd ; ls