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

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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