Building a simple shell in C - Part 4
Getting the path for each command typed on our shell
Nov 16, 202212 min read16K

Search for a command to run...
Articles tagged with #bash
Getting the path for each command typed on our shell

Implementing the execution functionality of the shell

Add parsing functionality to our simple shell from part 1

A basic shell that prints a prompt, waits for user to enter command and prints what they entered on the next line

Bash script that does preprocessing, compiling, and assembly without linking

Another task that I had to tackle as part of the lessons on shell expansion in my ongoing ALX Software Engineering course was to write a bash script that prints a number with two decimal places. Let's take a practical example and solve it to explain ...
