css-team: fix formatting and invalid HTML on marwan announ's pages

git-svn-id: svn+ssh://atelier.inf.usi.ch/home/bevilj/group-1@69 a672b425-5310-4d7a-af5c-997e18724b81
This commit is contained in:
terehm 2018-11-09 07:13:40 +00:00
parent 3c43e6f172
commit 05d63c1a81
4 changed files with 109 additions and 295 deletions

View File

@ -1,123 +1,66 @@
---
layout: page
category: Filesystem
tags: absolute and relative paths
tags: absolute relative path
author: Marwan Announ
title: fs
previous-page: pages/fs/Hard
---
<html>
<head>
</head>
<body>
<header>
<div class = "title1">
<h1>Absolute Path!</h1>
</div>
<h2>First, what is a path?</h2>
<p>
A path is a location to a folder or file in a file system of a Operating System, then is a combination of characters
and "/"
</p>
<h3>Now, I can tell you what is an absolute path</h3>
<div class = "title2">
<h2>First, what is a path?</h2>
</div>
<p>
An absolute path is defined as specifying the location of a file or directory from the root directory(/).
In other words we can say absolute path is a complete path from start of actual filesystem from / directory.
</p>
<h4>To write an absolute path-name:</h4>
<div class= "text1">
A path is a location to a folder or file in a file system of a Operating System, then is a combination of characters and "/"
</div>
<p>
Start at the root directory ( / ) and work down.
<br>Write a slash ( / ) after every directory name (last one is optional)
</p>
<h5>Example:</h5>
<div class = "title3">
<h3>Now, I can tell you what is an absolute path</h3>
</div>
<div class= "text2">
An absolute path is defined as specifying the location of a file or directory from the root directory(/).
In other words we can say absolute path is a complete path from start of actual filesystem from / directory.
</div>
<div class = "title4">
<h4>To write an absolute path-name:</h4>
</div>
<div class= "text3">
Start at the root directory ( / ) and work down.
<br>Write a slash ( / ) after every directory name (last one is optional)
</div>
<div class = "title5">
<h5>Example:</h5>
</div>
<div class= "text4">
<p> cat group1.txt </p>
if for example, we use the above line, this commands work only and only if the "group1.txt" exist in the current directory.
<br> If not works, it's not a problem, the file is present somewhere, before restart the new command, you have to know where
<p> cat group1.txt </p>
if for example, we use the above line, this commands work only and only if the "group1.txt" exist in the current
directory.
<br> If not works, it's not a problem, the file is present somewhere, before restart the new command, you have to
know where
<br> the file is saved.
<br> Now, we supposed that you know where your file is saved you can rewrite the command.
<p1> cat /home/a1/group1.txt </p1>
<p> cat /home/a1/group1.txt</p>
Now, we suppose that the file is saved into folder a1 in home,
<br>where: /home is the location respect to root, in fact, you have to descend one level
<br>in the file system like above to access your file.
As you can see from the last commands, all the paths started from /directory whis is a root directory for every Unix machines.
<p2> Other examples, where all are absolute path </p2>
As you can see from the last commands, all the paths started from /directory whis is a root directory for every Unix
machines.
<p> Other examples, where all are absolute path</p>
/home/user/Document/group1.txt
/root/data/dev.jpg
/var/log/messages
</div>
<div class = "title6">
<h5>Example of Absolute path's uses:</h5>
Now, as we learned from the previous pages we can use other commands in addition to "cat", such as:
<br> chmod
<br> ls
<br> mv
<br> get
<br> text
<br> rm
and so on.. with the sintax like above.
<h5>Example of Absolute path's uses:</h5>
Now, as we learned from the previous pages we can use other commands in addition to "cat", such as:
<br> chmod
<br> ls
<br> mv
<br> get
<br> text
<br> rm
and so on.. with the sintax like above.
/* esempi con altri comandi+foto */
</div>
</header>
</body>
</html>

View File

@ -1,143 +1,78 @@
---
layout: page
category: Filesystem
tags: absolute and relative paths
tags: absolute relative path
author: Marwan Announ
title: fs
previous-page: pages/fs/rela_abso
---
<html>
<head>
</head>
<body>
<header>
<div class = "title1">
<h1>Absolute Path!</h1>
</div>
<h2>First, what is a path?</h2>
<p>
A path is a location to a folder or file in a file system of a Operating System, then is a combination of characters
and "/"
</p>
<div class = "title2">
<h2>First, what is a path?</h2>
</div>
<h3>Now, I can tell you what is an absolute path</h3>
<p>
An absolute path is defined as specifying the location of a file or directory from the root directory(/).
In other words we can say absolute path is a complete path from start of actual filesystem from / directory.
</p>
<div class= "text1">
A path is a location to a folder or file in a file system of a Operating System, then is a combination of characters and "/"
</div>
<h4>To write an absolute path-name:</h4>
<p>
Start at the root directory ( / ) and work down.
<br>Write a slash ( / ) after every directory name (last one is optional)
</p>
<h5>Example:</h5>
<div class = "title3">
<h3>Now, I can tell you what is an absolute path</h3>
</div>
<div class= "text2">
An absolute path is defined as specifying the location of a file or directory from the root directory(/).
In other words we can say absolute path is a complete path from start of actual filesystem from / directory.
</div>
<div class = "title4">
<h4>To write an absolute path-name:</h4>
</div>
<div class= "text3">
Start at the root directory ( / ) and work down.
<br>Write a slash ( / ) after every directory name (last one is optional)
</div>
<div class = "title5">
<h5>Example:</h5>
</div>
<div class= "text4">
<p> cat group1.txt </p>
if for example, we use the above line, this commands work only and only if the "group1.txt" exist in the current directory.
<br> If not works, it's not a problem, the file is present somewhere, before restart the new command, you have to know where
<p> cat group1.txt </p>
if for example, we use the above line, this commands work only and only if the "group1.txt" exist in the current
directory.
<br> If not works, it's not a problem, the file is present somewhere, before restart the new command, you have to
know where
<br> the file is saved.
<br> Now, we supposed that you know where your file is saved you can rewrite the command.
<p1> cat /home/a1/group1.txt </p1>
<p> cat /home/a1/group1.txt</p>
Now, we suppose that the file is saved into folder a1 in home,
<br>where: /home is the location respect to root, in fact, you have to descend one level
<br>in the file system like above to access your file.
As you can see from the last commands, all the paths started from /directory whis is a root directory for every Unix machines.
<p2> Other examples, where all are absolute path </p2>
As you can see from the last commands, all the paths started from /directory whis is a root directory for every Unix
machines.
<p> Other examples, where all are absolute path</p>
/home/user/Document/group1.txt
/root/data/dev.jpg
/var/log/messages
</div>
<h5>Example of Absolute path's uses:</h5>
Now, as we learned from the previous pages we can use other commands in addition to "cat", such as:
<div class = "title6">
<h5>Example of Absolute path's uses:</h5>
Now, as we learned from the previous pages we can use other commands in addition to "cat", such as:
<br>ls /etc
<br>ls /usr/share/games if you have games obviously :)
<br>cd /usr/share/games
<br>cd ~
<br>cat /etc/passwd
<br>cp /etc/passwd /tmp
<br>cd /tmp
<br>cat passwd
<br>ls /etc
<br>ls /usr/share/games if you have games obviously :)
<br>cd /usr/share/games
<br>cd ~
<br>cat /etc/passwd
<br>cp /etc/passwd /tmp
<br>cd /tmp
<br>cat passwd
<h6> Now I will show you in many examples.</h6>
and so on.. with the sintax like above.
<p>
<img src="0.1.jpg" alt=" ls of /etc without"/>
</p>
<p>
<img src="0.2.jpg" alt=" cd /tmp (go to tmp yuppyy)"/>
</p>
and so on.. with the sintax like above.
</div>
<div class = "img0.1">
<img src="0.1.jpg" width="auto" height="auto" alt=" ls of /etc without" />
</div>
<div class = "img0.2">
<img src="0.2.jpg" width="auto" height="auto" alt=" cd /tmp (go to tmp yuppyy)" />
</div>
</header>
</body>
</html>

View File

@ -1,36 +1,18 @@
---
layout: page
category: Filesystem
tags: absolute and relative paths
tags: absolute relative path
author: Marwan Announ
title: fs
previous-page: pages/fs/rela_abso
---
<html>
<head>
</head>
<body>
<header>
<div class = "title1">
<h1>Relative Path!</h1>
</div>
<div class= "text1">
Relative path is defined as path related to the present working directory(pwd).
<br>Suppose I am located in /home/user1 and I want to change directory to /home/user1/Documents.
<br>I can use relative path concept to change directory to Documents.
<br> <br> <br> <p> pwd/home/user1cd Documents </p>
</div>
<br> <br> <br>
<p> pwd/home/user1cd Documents </p>
<br> <br> <br> Then you could tell me what is the difference between Absolute and Relative.
@ -39,51 +21,31 @@ Relative path is defined as path related to the present working directory(pwd).
<!-- esempi con altri comandi+foto -->
<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:
<br><br>pwd
<br> cd .
<br><br>pwd
<br> cd ..
<br><br>pwd
<br> cd ..
<br><br>pwd
<br> cd
<div class = "title2">
<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:
<br><br>pwd
<br> cd .
<br><br>pwd
<br> cd ..
<br><br>pwd
<br> cd ..
<br><br>pwd
<br> cd
<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
<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
<h3> Now I will show you in many examples.</h3>
<p>
<img src="1.1.jpg" alt=" pwd to know where i am "/>
</p>
<p>
<img src="1.2.jpg" alt="relative paths command"/>
</p>
</div>
<div class = "img1.1">
<img src="1.1.jpg" width="auto" height="auto" alt=" pwd to know where i am " />
</div>
<div class = "img1.2">
<img src="1.2.jpg" width="auto" height="auto" alt="relative paths command" />
</div>
<div class = "img1.3">
<img src="1.3.jpg" width="auto" height="auto" alt=" funning with 'cd to return back" />
</div>
</header>
</body>
</html>
<p>
<img src="1.3.jpg" alt=" funning with 'cd to return back"/>
</p>

View File

@ -1,44 +1,18 @@
---
layout: page
category: Filesystem
tags: absolute and relative paths
tags: absolute relative path
author: Marwan Announ
title: fs
previous-page: pages/fs/rela_abso
---
<html>
<head>
</head>
<body>
<header>
<div class = "title1">
<h1>ABSOLUTE VS RELATIVE</h1>
</div>
<div class= "text1">
Now, you can ask, why I have to use one or another?
<br> What is the difference? and questions like this.
<br> <br> <br> Don't worry, the answer it's easy.., we can use an absolute path from any location
<br> whereas you want to use relative path we should be present that you have to be in the working directory.
</div>
<p>
Now, you can ask, why I have to use one or another?
<br> What is the difference? and questions like this.
<br> <br> <br> Don't worry, the answer it's easy.., we can use an absolute path from any location
<br> whereas you want to use relative path we should be present that you have to be in the working directory.
</p>
<!-- domande su entrambi gli argomenti(javascript) -->
</header>
</body>
</html>