Let's begin!!
1. pwd = Print the current working directory
Print the current working directory is a syntax that show our work location.
2. ls = list
show file list
3. mkdir = make directory
create directory
4. cp = copy
copy file or folder
5. cd = change directory
change to your location
6. man = manual
see manual book
That is only a few of standard syntax CLI, but that's enough for like us (newbie).
Okay, I show you an example of that syntax
example syntax no. 1
example syntaxno.2
for numbers 3, 4, 5, dan 6 u can try with yourself, but if u can' use that u can use this syntax : man_syntax
_ = spasi
example : man_cp
At the directory, usually have a file .(one point) and .. (two point)
. = it's a path to itself
.. = it's a path to up directory
Example :
screen shoot
At CLI u can use absolute path and relative path
absolute path is a path where it's absolute, u can use it's permanently. example : /home/user/test
but relative path is a path a path relative and can be used for spesific condition. example : .. and .
Task
If u want to create a directory at this condition :
-the directory is at this path /home/user and create distro
-then at directory distro create two directory again there are debian and redhat
-at least at directory debian create directory ubuntu.
-u must use one syntax
Use your's Logics



0 comments:
Post a Comment