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

  Take a position on the idea of ipv6 being hailed as the

take a position on the idea of ipv6 being hailed as the next generation of the internet. support your response with

  Verify the floppy image with md-5

Using the image in Course Content called Assignment2.001, and using any of the methods that you have seen for doing an MD-5 hash (FTK, PRODISCOVER - THEY CAN BE DOWNLOADED ONLINE), verify the floppy image with MD-5.

  Write down a 200- to 300-word essay in response to the

write a 200- to 300-word essay in response to the following conflict resolution strategies help minimize the time

  Standardizing service nomenclature

Explain how should one go regarding standardizing service nomenclature, like the process service names and outcomes, in order to obtain a level of ease with implementing enterprise wide software?

  Steganography to send out messages

Suppose that a tightly knit group of political dissidents living in a repressive country are using steganography to send out messages to the world about conditions in their country.

  What are disadvantages of low class

What are disadvantages of low class What are advantages of high value?

  Use the internet to research and assess two 2 commercial hr

write a three to four 3-4 page paper in which you 1 use the internet to research and evaluate two 2 commercial hr

  Write a simple java application

Write a simple Java application which calculates the power dissipation in a simple circuit. Your application should ask the user to enter the voltage and resistance values of the circuit.

  Understanding rms values and peak values of voltage current

Understanding rms values and peak values of voltage/current, A personal computer that has a built in monitor and keyboard requires 40W at 115V(RMS).

  Discuss the layered stack approach

This is meant as a discussion topic, this is not an essay. Describe the OSI and TCP/IP reference models. express  the similarities and differences between them. consider how the layered stack approach assists in our understanding of these referenc..

  How will applications be deployed and if using group policy

scenario gloabl advertising inc. referred to as gai has hired you as an it consultant for implementing their windows

  You are to write a 6 - 8 page paper in the apa format

you are to write a 6 - 8 page paper in the apa format about a topic related to this course turn in the final copy of

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