da1suk8 / 6shell

As beautiful as a shell.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

As beautiful as a shell.


Languages

Language:C 86.5%Language:Makefile 6.9%Language:Dockerfile 6.6%