Terminal Commands

How to edit webpages the old-school way.

  1. Log into the terminal by typing telnet sysa.abdn.ac.uk in the Run item in the Start menu.
  2. Look at your folders by typing ls
  3. Change directories (folders) to your php_practice folder by typing cd public.htm/php_practice
  4. Open your index page by typing pico index.html
  5. Edit your index page and save the changes by typing ctrl-X
  6. Make a new directory called ‘include’by typing mkdir include
  7. Make the directory active by typing chmod 755 include
  8. Go to that directory by typing cd include
  9. Make a new file by typing pico style.css
  10. Add the following text to the file: h1 {color: red;}
  11. Save the file by typing ctrl-X
  12. Make the file active by typing chmod 755 style.css
  13. View your webpage!
Return to WebCourse

Disclaimer: The information found and the views expressed in these homepages are not the responsibility of the University of Aberdeen nor do they reflect institutional policy.