From a89419190d01c4d5468352887fc4e3fb0feb6aa1 Mon Sep 17 00:00:00 2001 From: annoum Date: Wed, 14 Nov 2018 10:39:56 +0000 Subject: [PATCH] updated my html(fs absolute and relative) file and correct with jekyll rules git-svn-id: svn+ssh://atelier.inf.usi.ch/home/bevilj/group-1@170 a672b425-5310-4d7a-af5c-997e18724b81 --- site/pages/fs/ab_re_quiz.html | 11 +++++++---- site/pages/fs/absolute.html | 6 ++++-- site/pages/fs/relative.html | 7 ++++--- 3 files changed, 15 insertions(+), 9 deletions(-) diff --git a/site/pages/fs/ab_re_quiz.html b/site/pages/fs/ab_re_quiz.html index e6e9dff..b6ca995 100644 --- a/site/pages/fs/ab_re_quiz.html +++ b/site/pages/fs/ab_re_quiz.html @@ -5,7 +5,7 @@ tags: absolute relative path author: Marwan Announ title: fs --- - +

ABSOLUTE VS RELATIVE

@@ -28,9 +28,10 @@ Yeah, right, there is a quiz.


* for css, please try to do a button or layout to links the quiz* - +

+ +

What is path?

Is a location to a folder or file in a file system of a Operating System
@@ -54,7 +55,7 @@ Yeah, right, there is a quiz. Is a folder that you can find on your Operating System
- +

What is an absolute path?

The bigger folder that you can find on your Operating System
@@ -93,3 +94,5 @@ Yeah, right, there is a quiz.

+ +--> diff --git a/site/pages/fs/absolute.html b/site/pages/fs/absolute.html index 1704f7d..88c6a0a 100644 --- a/site/pages/fs/absolute.html +++ b/site/pages/fs/absolute.html @@ -6,7 +6,7 @@ tags: absolute relative path author: Marwan Announ title: paths --- - +

Absolute Path

First, what is a path?

@@ -57,6 +57,7 @@ machines.
Example of Absolute path's uses:
Now, as we learned from the previous pages we can use other commands in addition to "cat", such as: +
 
ls /etc
ls /usr/share/games if you have games obviously :)
cd /usr/share/games @@ -65,10 +66,11 @@ Now, as we learned from the previous pages we can use other commands in addition
cp /etc/passwd /tmp
cd /tmp
cat passwd - +



Read this if you are not Bill Gates, so read this..

So, if you dont't understand anything, like me before this writing, you have to know that Absolute pathnames start with a
slash on the left(simplyfied version..).
For example etc/passwd is a good example of Absolute pathnames. +

diff --git a/site/pages/fs/relative.html b/site/pages/fs/relative.html index 7e295a1..f56bfc7 100644 --- a/site/pages/fs/relative.html +++ b/site/pages/fs/relative.html @@ -6,7 +6,7 @@ tags: absolute relative path author: Marwan Announ title: fs --- - +

Relative Path!

Relative path is defined as path related to the present working directory(pwd). @@ -24,7 +24,7 @@ Relative path is defined as path related to the present working directory(pwd).

Example of Relative path's uses:

Now, as we learned from the previous pages we can use other commands in addition to "cat", such as: - +
 

pwd
cd .

pwd @@ -33,6 +33,7 @@ Now, as we learned from the previous pages we can use other commands in addition
cd ..

pwd
cd +



and so on.. I know, it's boring but it is one of the disadvantages of not being present in the
working directory @@ -49,5 +50,5 @@ Now, if you read the last page regarding Absolute path you can ask me, good, but
If you observe ../bar have slash, but it's not an asbolute(after the previous reading you have to know why it's not an absolute ;) ) - +