Prepare a script that would accumulate your user name

Assignment Help Computer Engineering
Reference no: EM131147953

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 <your actual first and last name> 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 <your actual logical terminal name>" 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 <the actual IP address>" 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.

Reference no: EM131147953

Questions Cloud

Audience analysis-idea development and message structuring : Describe each of the three components in the AIM planning process for business messages: audience analysis, idea development, and message structuring. Please include the in-text citation and the reference.
Weather conditions in impacting the quality of applied paint : Explain the role played by weather conditions in impacting the quality of applied paint. List three items that should be checked by the inspector to ensure proper project cleanup? What is meant by lien waivers? In what way it could have a negative im..
Compare and contrast the codes of ethics : Consider the issue of how to triage patients in times when hospitals are overwhelmed as a result of a disaster situation. Use the codes of ethics from each of your two selected groups to explain how the dilemma could be resolved while adhering to ..
What are the possible consequences of substituting : What are the possible consequences of substituting one nail type with another that is not in compliance with the specifications? Discuss the possible reasons that could lead to paint failure.
Prepare a script that would accumulate your user name : 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.
Create more effective message in terms of content and tone : Choose a business message to evaluate. You could find a recent letter you have received from a business, go to a website or choose a message for customers or a message specified by your instructor. Assume that you are a consultant to the company that..
How can nurses apply leadership strategies to facilitate : Select one of the factors presented in this week's Learning Resources: organizational culture, organizational change management, or nursing leadership skills. How might this factor contribute to challenges experienced during an informatics impleme..
What is the oil viscosity if the pressure drop is 250 kpa : what is the oil viscosity if the pressure drop is 250 kPa?
What passive portfolio comprised of a market-index portfolio : What passive portfolio comprised of a market-index portfolio and a money market account would have the same beta as the fund?

Reviews

Write a Review

Computer Engineering Questions & Answers

  Select either lisp or prolog and recommend changes

Neither functional programming languages nor logic programming languages are thought of as 'practical' programming languages. Choose either Lisp or Prolog and recommend changes to the language that you think would increase acceptance of the langua..

  Perform a valuable function as a system

With both full and partial adding systems we combine logic gates to perform a valuable function as a system.

  Program has to convert feet into meters

The program must also convert feet into meters. The program prompts the user to enter a number in feet, converts it to meters, and displays the result. One foot is 0.305 meters.

  Questionconsider a system with 2 multiprocessors with

questionconsider a system with 2 multiprocessors with following configurations-a machine 1 a numa machine with 2

  How many bits should immediate field of i-type instruction

By how many bits should the immediate field of an I-type instruction be reduced to match the length on an R-type instruction for the follow modifications to the MIPS architecture?

  Floating-point numbers

1. Convert the 32-bit IEEE floating-point format number C43AF00016 into its decimal representation.

  Find the object in the response was last modified

With nonpersistent connections between browser and origin server, it is possible for the single TCP segment to carry two distinct HTTP request messages.

  Interviewing for chief information officer

XYZ is interviewing candidates for position of Chief Information Officer (CIO). They are inquiring the candidates to explain briefly how they could satisfy their requirements as described above. State how would a successful candidate respond to th..

  Questionfollowing is a code for one product in a general

questionfollowing is a code for one product in a general cosmetic line l02002z621289. l means which is a lipstick 0

  Different graphics files

Different graphics files were send via email from an unknown source to the suspect in an ongoing investigation.

  Find out and compare some of the differences

There are a number of other Schema languages defined for use with XML documents apart from DTD and W3C XML Schema. One of these is DSD.

  Object-oriented analysis

Based on the following narrative, develop either an activity diagram or a fully developed description for the use case of Add a new vehicle to an existing policy in a car insurance system.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd