Question
Hide Assignment Information Instructions Due date announced in the discussion board under Weekly postings and the calendar CS 140U - Assignment 5. Attach only .txt
Hide Assignment Information | |
Instructions | |
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 syccuxas01, 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. 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. Explain what are well-known ports (some googling on this one)? What well-known ports numbers 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? |
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started