Skip to content

Latest commit

 

History

History
executable file
·
30 lines (21 loc) · 522 Bytes

shell.md

File metadata and controls

executable file
·
30 lines (21 loc) · 522 Bytes

Shell

Os2020 provides a custom shell inspired by bash.

Notes

You can terminate any program with Ctrl + C.

Commands

Here is a list of usefull commands :

  • cat
  • cd
  • color : Sets the color of the background / foreground of the console
  • echo
  • exit
  • help : Display all commands
  • ls
  • mkdir

Redirections

You can redirect either stdout, stdin or stderr to a file by adding > (for stdout), < (for stdout) or 2> (for stderr) in a command :

-> echo Hello world > hw.txt
-> cat hw.txt
Hello world