6.5. Exercises
This chapter has only two exercises:
- Start the Vim tutor by entering vimtutor in a terminal session (If you don’t have vimtutor on your system, you might have to install it. In older versions of Debian, vimtutor was part of the vim package, but in Etch it became part of the vim-runtime package.), and get started. Practice is the only way!
- You may alternatively start emacs and type Ctrl+H and then T to invoke the self-paced Emacs tutorial.
- Start a GUI editor like Kate or Gedit (any editor which “colorize” syntax will do). The goal of this exercise is to see how the editor helps you with typing code by highlighting it. We just “look and see”. (This feature will come handy later in the course).
- Instead of typing in the editor, we will cheat a bit and copy and paste a Bash script from this LBo page: http://linuxbasics.org/historical/2005-course/wx
- Copy from the line starting with #! /bin/bash, ending with the line grep $word $dict. Look at how it is displayed in the editor.
- This time, we will cut and paste a web page and see how html code is displayed in the editor. I recommend this page, http://linuxbasics.org/LDP/HOWTO/Multiboot-with-GRUB.html, which is not too overwhelming for our purpose.
- Once the page is displayed in your browser, click on “View Source” in the menu bar (the location of this feature will vary according to your browser). Once you have the source displayed, copy and paste it into your editor, and look at the result.
Prev: Summary
Home
Next: Home sweet /home
Copyright (c) by the authors.
This section of the wiki is licensed under the terms of the GNU Free Documentation License.
See the LBook-licensing page for details.
Linux® is a registered trademark of Linus Torvalds.
Welcome to LinuxBasics.org - The online community that helps people to get Linux installed and running.
During this tour, we will guide you through our website, which has many facets which wait to be explored
The biggest project we are running is our Linux course, based on the LBook.
The book is stored in wiki-format, which enables us to update and correct it as we go.
Discussion for the course is on our Forum
Our mailing-list is for any Linux-related question.
The questions and answers from the list are stored in the list's archives in order to help others with the same problems.
Every weekend, we meet to chat in IRC. These meetings are NOT mandatory, but are a nice chance to get to know each other better.
IRC is also a great tool to solve many problems, since it is very quick and easy to ask for more details if you need them.
The tutorials are one of the oldest sections on the LBo-website.
Here you find explanations on how to do specific tasks in Linux. Many of the tutorials were created after a certain problem
has been discussed (and usually solved :) on the mailing-list.
The tutorials are categorized in
In the links section, you find outbound links to other valuable resources.
One of our later additions to the site. We maintain a mirror of the Linux Documentation Project. This is our contribution to the "home of the HOWTOs"
Another later addition is the LBlog which focuses on how to do stuff on the Linux Desktop. It begins with the basics on installing Ubuntu.
Using the integrated site-search, you can search the tutorials, the LBook and all other wiki-pages
Simply type the search term into the box in the upper-right corner of our webpages
As a community, we depend on your feedback and collaboration. So, if you have something to share with others, please contact us. If you have a suggestion for a topic you would like to see covered here, please add it on the Wishlist.
There are many ways to contribute: You can answer questions on the mailing-list, you can write a complete tutorial or just a step-by-step documentation on how you completed a specific task using linux. Ask questions if the information on this site is not clear, tell us if we got something wrong, spell-check our writings, whatever.
We are looking forward to meeting you at LinuxBasics.org
Anita, Jisao, Sam and Stefan