Chapters of Linux Gym: (Green Means Completed) : The Filesystem 1
Chapters of Linux Gym: (Green Means Completed) : The Filesystem 1
Chapters of Linux Gym: (Green Means Completed) : The Filesystem 1
4. Web development
5. Secret file
6. Small bash script
7. Standard error message
4. Web development
1. Html elementary
§ Use lorem ipsum generator for dummy text
§ Emphasise means requiring <em></em> tags
§ Use touch to create the files
§ To use VIM:
□ vim text.html
□ use i to enter insert mode
□ make your changes
□ press escape to exit insert mode
□ type :wq to signify the end
□ press enter
§ Port is http://192.168.3.129/~student/text.html
§ You need to chmod 777 extlink.html
2. Html hyperlink
§ Use a href to create an external link
§ When putting in the address, make sure you have the http part
§ You need to chmod 777 extlink.html
3. Html preformat
§ Preformatted text needs these tags; <pre></pre>
§ Preformatted text means that the way the text is written in the
code file is preserved exactly with all inserted spaces etc.
§ For paragraph, use <p> not <p1> etc
4. HTML list
§ Create only 1 ordered listt with 4 list items
§ use the <ol> tag to begin list
§ <ol>
<li></li>
<li>/li>
</ol>
5. Html table
§ Use <Table> to create one
§ Inside <Table>, use <tr> to create a row
§ Use <td> to create a cell
6. Html picture
§ To copy picture into current directory, do cp ABSOLUTEPATH .
(dot means current directory as destination)
7. Html Index
• Index.html atomically changes to / and doesn’t show up as a separate
filename.
§ To copy picture into current directory, do cp ABSOLUTEPATH .
(dot means current directory as destination)
7. Html Index
• Index.html atomically changes to / and doesn’t show up as a separate
filename.
6. Introduction to scripting
1. Hello world
2. Echo one parameter
3. Echo all parameters
4. Sum of 2 parameters
5. Number of arguments
6. Echo to standard error
7. List to standard error
8. Word count script
9. Check number of arguments
7. Data processing
1. List manipulation
2. List sorting
3. List cut
4. Search prefix
5. Multiple file string detection
6. Grep and words
7. Grep and regular expressions
8. Name frequency
9. Single file word detection
10. Same frequency