forked from juvan-de/ft_minishell
-
Notifications
You must be signed in to change notification settings - Fork 0
/
notes.txt
34 lines (24 loc) · 758 Bytes
/
notes.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
This is where we will put down some notes:
executable runnen:
-based on the Path var
-based on relative path
-based on absolute path
echo:
printing text
-with -n
cd:
going to another dir
-based on relative path
-based on absolute path
pwd:
printing the path to the current dir n absolute path
export:
shows env in a layout. Set the var on ascivalue order order
export with a argument makes a nwe var.
var has to be in format test=hallo and will result in test="hallo" (also test="""hallo""" will result in test="hallo")
if the name already exist it changes the equal to
if there is a space it will make 2 var
testcases:
export test=hoi ; test1=$test
export hoi=abel hoi1=test; export [hoi moet boven hoi1]
unset path; ./minishell