Terminal Commands
How to edit webpages the old-school way.
- Log into the terminal by typing telnet sysa.abdn.ac.uk in the Run item in the Start menu.
- Look at your folders by typing ls
- Change directories (folders) to your php_practice folder by typing cd public.htm/php_practice
- Open your index page by typing pico index.html
- Edit your index page and save the changes by typing ctrl-X
- Make a new directory called ‘include’by typing mkdir include
- Make the directory active by typing chmod 755 include
- Go to that directory by typing cd include
- Make a new file by typing pico style.css
- Add the following text to the file: h1 {color: red;}
- Save the file by typing ctrl-X
- Make the file active by typing chmod 755 style.css
- View your webpage!
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.