Tutorial 4

Tutorial 4 - Tutorial 4 In this tutorial, we are going to...

Info iconThis preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon
Tutorial 4 In this tutorial, we are going to exercise our knowledge on editors. The UNIX machines available to use are cs1 to cs3 at utdallas.edu. You can use either putty or Xmanager to access these UNIX machines. For detail instructions on login, please refer back to Tutorial 1 . Editors In UNIX, there are three popular editors, whose names are listed below with a link to a simple tutorial for each: 1. Pico: http://www.usd.edu/trio/tut/pico/ 1.1 Open a Pico file:
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
1.2 Edit the file:
Background image of page 2
1.3 Save by typing "ctrl + O":
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
1.4 Exit by typing "ctrl + X":
Background image of page 4
Go through the Pico tutorial. Following the instructions, open a file and edit the body text. Change the body to whatever you want. Save the file and exit. 2. Vi/Vim: http://heather.cs.ucdavis.edu/~matloff/UnixAndC/Editors/ViIntro.html "vi" has two modes for editing, i.e., editing mode and command mode. When "vi" is launched, it is in the command mode, which means that you can move the cursor, delete a line or character, but not inserting. The insertion of a character is
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 6
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 10

Tutorial 4 - Tutorial 4 In this tutorial, we are going to...

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online