Assignment 5

Back Up Next

horizontal rule

Home
Assignment 1
Assignment 2
Assignment 3
Assignment 4
Assignment 5
Assignment 6
Assignment 7

 

Due date announced in the discussion board under Weekly postings and the calendar

CS 140U - Assignment 5. Attach only .txt files and make sure to copy/paste the questions, along with the answers. 10 pts will be deducted if you do not include the questions.

Make sure that you do it interactively with the system creating a log file to show your work.

50 POINTS

NAME:

Due Date: See the Discussion board and calendar

INSTRUCTIONS:

Login to UNIX and do the following steps interactively (meaning do your homework while connected to our unix system so you can actually do the commands while answering the questions). Do not try to guess the answers, follow the steps while logged in the unix system.

Write in your answers, the command lines you use in each step. You may want to copy the answers from the body of your putty session. Note that putty has an option to log all your work in a text file. Note that each step may depend on the previous and there may be more than one way to do some of the steps (one answer is enough). Include the questions with your answers.

BTW.. You can use putty and open more than one connection to syccuxfs01, so you can have two sessions going at the same time.

Each question has its own point system. For instance, if an assignment has 10 questions and it is worth 50 points, each question will be worth 5 points, etc.

When I correct your assignments, there will be series of *** in front of an answer, indicating that the answer is either incomplete or complete wrong. The points will be deducted accordingly. -1 for very minor error, -3 or more for major errors. The key for the assignments will be found under Content-assignment/lab answers.

Make sure to submit all of your assignments in the dropbox.

Always include the assignment questions (except assignments 6, 7), otherwise 10 pts will be deducted. Also, attach ONLY  .txt files, NO Word or PDF files.

QUESTIONS:

 

1. What is the difference between built-in (internal) and external shell commands? How does a UNIX shell execute built-in and external commands? Explain your answer with an example.

 

2. What is the purpose of the ps command? Give an example use of the command.

 

3. What is the purpose of the nice command in UNIX?

 

4. Give the sequence of steps (with commands) for terminating a background process.

 

5. Show the command for displaying the process tree on your system for

a. ALL the processes running on your system

b. all of YOUR processes running on the system

 

6. What are well-known ports? What well-known ports are the following services offered: http, ftp, telnet, smtp, ssh?

 

7. What command(s) would you use to display information about the CPU and OS on your UNIX host?

 

8. How would you display information about the user chris at the host mit.edu using the finger command?

 

9. What is anonymous ftp? How would you establish an anonymous ftp session with the host ftp.intel.com?

 

10. What is the purpose of ssh command?

 

 

 

 

 

horizontal rule

Back to CS140U Homepage
This page was last modified September 26, 2004
wmorales@pcc.edu