Skip to content

Latest commit

 

History

History
112 lines (84 loc) · 5.75 KB

README.md

File metadata and controls

112 lines (84 loc) · 5.75 KB

Minishell

As beautiful as a shell.

contents

Execution environment

Mac OS: Monterey
$clang -v
Apple clang version 13.1.6 (clang-1316.0.21.2)
Target: x86_64-apple-darwin21.3.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

$bash --version
bash --version
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin20)
Copyright (C) 2007 Free Software Foundation, Inc.

Implementation environment was adapted to bash.

Memory leak check (docker)

docker build -t <specific_name> .
docker run -it --rm -v $PWD:/code <specific_name> make valgrind

Material

  1. Linux man

  2. shell overview

  3. lexer and parser

  4. BNF

  5. ls

  6. touch

  7. cat

  8. pipe

  9. text editor

  10. bitwise operators

  11. process in linux