Sonoma State University
Department of Computer Science
CS-210: Introduction to Unix
Exercise 6: Editors

Objective

In this exercise you will learn the VIM (vi improved) editor then edit your bash resource file (.bashrc).

1. Take the vim (VI iMproved) tutorial. You can run the tutorial from the command line on Blue by typing: vimtutor.

2. Once you feel comforable using vim, edit your dot bashrc (.bashrc) in your home directory (vim ~/.bashrc) file by adding the following aliases at the end of the file:

  • export HISTCONTROL=ignoredups
  • export HISTSIZE=1000
  • alias cp='cp -i'
  • alias mv='mv -i'
  • alias rm='rm -i'
  • alias ll='ls -l --color=auto'
  • alias h='history'

Submission Instructions:

Please submit your modified dot bashrc (.bashrc) file to Canvas.

Exercise 6 Rubric

CRITERIA RATINGS POINTS
Criteria 1:
Description of criteria one.
Proficient
2 points

BLAH BLAH BLAH
Satisfactory
1.4 points

BLAH BLAH BLAH
Below Expectation
0 points

BLAH BLAH BLAH
2 points
Criteria 2:
Description of criteria two.
Proficient
2 points

BLAH BLAH BLAH
Satisfactory
1.4 points

BLAH BLAH BLAH
Below Expectation
0 points

BLAH BLAH BLAH
2 points
Criteria 3:
Description of criteria three.
Proficient
2 points

BLAH BLAH BLAH
Satisfactory
1.4 points

BLAH BLAH BLAH
Below Expectation
0 points

BLAH BLAH BLAH
2 points
Criteria 4:
Description of criteria four.
Proficient
2 points

BLAH BLAH BLAH
Satisfactory
1.4 points

BLAH BLAH BLAH
Below Expectation
0 points

BLAH BLAH BLAH
2 points
Criteria 5:
Description of criteria five.
Proficient
2 points

BLAH BLAH BLAH
Satisfactory
1.4 points

BLAH BLAH BLAH
Below Expectation
0 points

BLAH BLAH BLAH
2 points
Total points: 10