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
This commit is contained in:
parent
44ca02c582
commit
550f961369
3 changed files with 15 additions and 9 deletions
site/pages/fs
|
@ -5,7 +5,7 @@ tags: absolute relative path
|
|||
author: Marwan Announ
|
||||
title: fs
|
||||
---
|
||||
|
||||
<p>
|
||||
<h1>ABSOLUTE VS RELATIVE</h1>
|
||||
|
||||
<p>
|
||||
|
@ -28,9 +28,10 @@ Yeah, right, there is a quiz.
|
|||
|
||||
<br><br><br> * for css, please try to do a button or layout to links the quiz*
|
||||
|
||||
|
||||
</p>
|
||||
<!-- quiz di javascript pronto che linkero -->
|
||||
|
||||
<!--
|
||||
|
||||
<link href ="style.css" rel ="stylesheet">
|
||||
<link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet">
|
||||
|
@ -46,7 +47,7 @@ Yeah, right, there is a quiz.
|
|||
<form id = "quiz" name = "quiz">
|
||||
|
||||
|
||||
<!--1-->
|
||||
|
||||
<p class = "questions">What is path?</p>
|
||||
|
||||
<input type = "radio" id = "mc" name = "question1" value = "Is a location to a folder or file in a file system of a Operating System"> Is a location to a folder or file in a file system of a Operating System<br>
|
||||
|
@ -54,7 +55,7 @@ Yeah, right, there is a quiz.
|
|||
<input type = "radio" id = "mc" name = "question1" value = "Is a folder that you can find on your Operating System"> Is a folder that you can find on your Operating System<br>
|
||||
|
||||
|
||||
<!--2-->
|
||||
|
||||
<p class = "questions">What is an absolute path?</p>
|
||||
|
||||
<input type = "radio" id = "mc" name = "question2" value = "The bigger folder that you can find on your Operating System"> The bigger folder that you can find on your Operating System<br>
|
||||
|
@ -93,3 +94,5 @@ Yeah, right, there is a quiz.
|
|||
<p id = "message"></p>
|
||||
<img id = "picture">
|
||||
</div>
|
||||
|
||||
-->
|
||||
|
|
|
@ -6,7 +6,7 @@ tags: absolute relative path
|
|||
author: Marwan Announ
|
||||
title: paths
|
||||
---
|
||||
|
||||
<p>
|
||||
<h1>Absolute Path</h1>
|
||||
|
||||
<h2>First, what is a path?</h2>
|
||||
|
@ -57,6 +57,7 @@ machines.
|
|||
<h6>Example of Absolute path's uses:</h6>
|
||||
Now, as we learned from the previous pages we can use other commands in addition to "cat", such as:
|
||||
|
||||
<pre>
|
||||
<br>ls /etc
|
||||
<br>ls /usr/share/games if you have games obviously :)
|
||||
<br>cd /usr/share/games
|
||||
|
@ -65,10 +66,11 @@ Now, as we learned from the previous pages we can use other commands in addition
|
|||
<br>cp /etc/passwd /tmp
|
||||
<br>cd /tmp
|
||||
<br>cat passwd
|
||||
|
||||
</pre>
|
||||
|
||||
<br><br><br> <h7> Read this if you are not Bill Gates, so read this.. </h7>
|
||||
|
||||
<p> So, if you dont't understand anything, like me before this writing, you have to know that Absolute pathnames start with a
|
||||
<br>slash on the left(simplyfied version..).
|
||||
<br>For example etc/passwd is a good example of Absolute pathnames.
|
||||
</p>
|
||||
|
|
|
@ -6,7 +6,7 @@ tags: absolute relative path
|
|||
author: Marwan Announ
|
||||
title: fs
|
||||
---
|
||||
|
||||
<p>
|
||||
<h1>Relative Path!</h1>
|
||||
|
||||
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).
|
|||
|
||||
<h2>Example of Relative path's uses:</h2>
|
||||
Now, as we learned from the previous pages we can use other commands in addition to "cat", such as:
|
||||
|
||||
<pre>
|
||||
<br><br>pwd
|
||||
<br> cd .
|
||||
<br><br>pwd
|
||||
|
@ -33,6 +33,7 @@ Now, as we learned from the previous pages we can use other commands in addition
|
|||
<br> cd ..
|
||||
<br><br>pwd
|
||||
<br> cd
|
||||
</pre>
|
||||
|
||||
<br><br><br> and so on.. I know, it's boring but it is one of the disadvantages of not being present in the
|
||||
<br>working directory
|
||||
|
@ -49,5 +50,5 @@ Now, if you read the last page regarding Absolute path you can ask me, good, but
|
|||
<br>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 ;) )
|
||||
|
||||
|
||||
|
||||
</p>
|
||||
<!-- quiz in javascript about relative and what the user know after the reading-->
|
||||
|
|
Loading…
Reference in a new issue