Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

Problem: The first part of your assignment is to prepare a script that would accumulate your user name, date and time, your computer information and a command running into a log that would be mailed to your instructor. Then, as the part two, an ftp session should be complete to get and print out your script.
In order to accomplish the first part of the task, you should perform research on the ‘here-document' structure.
The requirements are that the project would have three source references. One of the three references must be from the Internet.

Instructions: Perform the following tasks:

Part 1.
1. Login into the Solaris server through the telnet command.
2. Create a shell script named yourname-script that would
I. redirect a string Student name is into a file Log-file; (10 pts)
II. append the current date and time information to the file; (10 pts)
III. append the string "My terminal is " to the file Log-file; (10 pts)
IV. learn the network address of your computer or computer number and append the string "My terminal IP address is " to the file Log-file; (10 pts)
V. Create menu that users can read to make their selection
VI. read the input from the keyboard; (2 pts)
VII. make the following selections: (50 pts)
A. if this is choice one,
a. display the string ‘My files' ;
b. perform the listing command on your directory;
c. append the result to the file Log-file;
B. if this is choice two,
d. display the string ‘My directory' ;
e. perform the viewing of current directory command ;
f. append the result to the file Log-file;
C. if this is choice three,
g. display the string ‘My classmates' ;
h. perform a users viewing command ;
i. append the result to the file Log-file;
D. in all other choices,
j. display the string ‘Wrong choice' ;
k. append the result to the file Log-file;
• Include your three reference sources into a ‘here-document' structure and append it to the Log-file (5 pts)
• Mail the Log-file to yourself and your instructor.
3. Make the script yourname-script executable and run it. (3 pts)
4. Exit your telnet session.

Part 2. Bonus (5 pts)

1. Open an ftp session from your PC to the Solaris server using the IP address of 10.3.1.7
2. Get the script yourname-script from the Unix machine to your PC.
3. Print it out and bring to your instructor.

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M91903423

Have any Question?


Related Questions in Computer Engineering

What is 4g and its benefits how fast is your internet

What is 4G and its benefits. How fast is your Internet service supposed to be for stationary users?

Give a recursive algorithm that generates a similar series

Give a recursive algorithm that generates a similar series of coins for changing n cents. Don't use dynamic programming for this problem.

Assignmentsuppose you are an isp that owns a 19 address

Assignment Suppose you are an ISP that owns a /19 address CIDR block starting at 118.235.160.0/19. Answer the following questions to allocate address blocks to 10 customers who want to pay for the smallest CIDR blocks to ...

Make a function first-char that consumes a nonempty string

Make a function first-char that consumes a nonempty string and produces a string consisting of the first character in the original string. Do not use string-ref.

There are 30 male democrats and 14 female democrats 2 male

There are 30 male Democrats and 14 female Democrats, 2 male Independents and zero female Independents, 48 male Republicans and 6 female Republicans. Find P (M ∩ D)

Question task 1 use examples from the readings or from your

Question: Task 1: Use examples from the readings, or from your own research, to support your views, as appropriate. Encouraged to conduct research and use other sources to support your answers. Be sure to list your refer ...

Systems analysis and design projectpersonal trainer inc

Systems Analysis and design project Personal Trainer, Inc. owns and operates fitness centers in a dozen Midwestern cities. The centers have done well, and the company is planning an international expansion by opening a n ...

Taylor found that 8 of the recipients of loans form a

Taylor found that 8% of the recipients of loans form a particular mortgage lender default within 3 years. If he takes a random sample of 736 customers who received loans 3 years ago, what is the average number of custome ...

What are some skills individuals who work in the field of

What are some skills individuals who work in the field of cyber security need to prevent hacks in to a company's computers?

Question suppose two matlab functions find-nonzero and

Question : Suppose, two Matlab functions find-nonzero and row-echelon are available to use. The first function takes a vector as input and returns the location of the first nonzero entry of the input vector. The second f ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As