Building A Linux Shell - Part II [A Step-by-Step Guide]

Written by MIMA | Published 2020/06/26
Tech Story Tags: programming | linux | shell | terminal | tutorial | c-tutorials | latest-tech-stories | hackernoon-top-story

TLDR Building A Linux Shell - Part II [A Step-by-Step Guide] The first part of this tutorial, we've built a simple Linux shell that prints a prompt string, reads input, then echoes the input back to the screen. In this part, we'll update our code to give our shell the ability to parse and execute simple commands. A simple command consists of a list of words, separated by whitespace characters (space, tab, newline) The first word is the command name, and is mandatory. If present, they form the arguments we want the shell to pass to the executed command.via the TL;DR App

no story

Written by MIMA | GNU/Linux system administrator and programmer
Published by HackerNoon on 2020/06/26