CS 141 Homework Assignment #3

In this homework, I show you the exact commands to type. Just follow the instructions.

your task what to type
In your home directory, create a subdirectory named: worldcities
cd
mkdir worldcities
Under worldcities, create 2 subdirectories: asia and australia
cd worldcities
mkdir asia australia
Under asia, create this directory: japan
cd asia
mkdir japan
In the japan directory, put a copy of the /etc/hosts file (Notice the destination directory is a period.) Then vi that hosts file.
cd japan
cp /etc/hosts .
vi hosts
Move your cursor to the line that contains: rhcc and insert a # sign at the start of that line. Warning: make only the changes specified.
Use h j k l to move around. Use i to start insert mode. Type
the # sign and you should see it inserted on the screen. Press ESC 
to end the insertion and go back to command mode.
Change the third octet of rm206 from 63 to be: 72 (There are 4 octets in an IP address, separated by periods.)
Use x's to delete the 63, then i to insert 72, then press ESC
Write your changes and quit vi
:wq
Run these commands to show your current login and calculate a checksum on the file you just modified. Then raise your hand to signal the instructor to grade your assignment in class.
id
pwd
sum -r hosts