From 7afbdad27b697a380f077e7af0fcb92288e1221d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fatmanur=20=C3=87etinta=C5=9F?=
<99668549+facetint@users.noreply.github.com>
Date: Thu, 4 Apr 2024 19:24:23 +0300
Subject: [PATCH] Update README.md
---
README.md | 16 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 98c1579..0bf656a 100644
--- a/README.md
+++ b/README.md
@@ -230,7 +230,21 @@ This minishell project uses these tokens:
▶︎ Returns the result to the user.
### BUILTINS
-
+
+| Command | Description |
+
+|---|---|
+|`cd`| + changes the current directory to the first argument provided
++ can be relative or absolute path
++ -- changes to HOME
++ - changes to OLDPWD
++ PWD and OLDPWD are set accordingly |
+|`echo`| Displays a line of text
Optional flag `-n`: do not output the trailing newline|
+|`env` | Displays the environment variables|
+|`exit`| Terminates the shell.
Accepts optional argument `n`, which sets the exit status to `n`. |
+|`export`| Accepts arguments `name[=value]`.
Adds name to the environment. Set's value of name to `value`.
If no argument is given, displays list of exported variables.|
+|`pwd`| Shows the current directory as an absolute path.|
+|`unset`|Accepts argument `name`.
Removes the variable `name` from the environment.|
**exit**
+ exits the shell with the status in the argument or the current status if none is specified
+ also needs a numeric argument for the status otherwise it will error