Path and editor variables in linux login

Assignment Help Software Engineering
Reference no: EM1379000

Login to your Linux environment and construct your start-up shell script. Whether you write the scripts as .profile or .cshrc, include the following options:

* Your search path to $PATH
* Your editor to vi
* Two variables of your preference, explain what they are.

Copy the following shell that completes the following:

#!/bin/bash

echo Select a country from the following list:

echo America, Italy, France, Germany

read country

case $country in

[Aa]merica ) echo Ford; echo Perhaps;;

[Ii]taly ) echo Ferarri;echo no;;

[Ff]rance ) echo Peugeot ;echo no way;;

[Gg]ermany ) echo Porsche ;echo yes;;

esac

Run the shell from above.

Answer the following questions:

· What is the purpose of the echo command?

· In the case statement, why are the first letters both caps and lower case?

· What does esac mean?

Submit the answers to these questions to your faculty member for grading.

Create your own shell that completes the following problem:

· Ask the user their name.

· Compare it to your name.

· Give a reply that their response is either your name too or it is a nice name too.

· Submit a listing of this shell to your faculty member for grading.

· Copy/Paste or attach a screen print.

Copy/paste the screen shots

 

Reference no: EM1379000

Questions Cloud

Role of it management in organizations : Write a statement of what you perceive the role of IT management in organizations and address the IT management challenges that e-business brings.
Evaluate the intended audience : Question: In order for technical communication to be effective, the writer must evaluate the intended audience, its characteristics, knowledge base, expectations, and needs.
Object oriented designing class : Object oriented design is making classes with both characteristics and behavior wrapped together. Taking data and the functions that operate on that information and storing them as one programming unit is extremely powerful.
Fdtd evaluation of the sar distribution : Finite Difference Time Domain (FDTD) numerical method to develop for me a software program that simulates - evaluates Specific Absorption Rate (SAR) Distribution in a Human Head Near a Mobile Cellular Phone as a student project.
Path and editor variables in linux login : Login to Linux environment and construct start-up shell script. Whether you write the scripts as .profile or .cshrc, include the following options:
Determine the greatest magnitude negative number : Determine the greatest magnitude negative number one can represent in an 8-bit 2's complement code? Write your result in binary and decimal.
Linux commands : Project Linux commands. Please record all commands on a Microsoft Word Doc.
Approximate location of the laminar turbulent transition : Find the approximate location of the laminar turbulent transition - what is the net heat removed by the air around the rod?
Explain the action of the function : Explain the action of the function. Determine the function in the library that performs a similar calculation?

Reviews

Write a Review

Software Engineering Questions & Answers

  Create a communication and sequence diagram

Create a sequence diagram that shows an Owner generating a report regarding the maintenance of their current properties - Create a communication diagram.

  Create crow-s foot erd for business rules for company

Create Crow's Foot ERD to include the following business rules for the ProdCo company: Each sales representative writes many invoices

  What is the need to identify test deliverables

What is a test plan? List out the processes that are covered in a test plan. What is the need to identify test deliverables?

  Advantages and disadvantages of implementing dfs

Explain advantages and disadvantages of implementing a DFS for this size of company, along with a recommendation for or against, and why.

  What is the standard error

If you have five critical errors, two main faults, and five minor errors, what is the standard error

  Draw a flowchart to determine fare

Write an algorithm to find the bus fare based on distance travelled as per the following rates:a. Rs.5.00 for first 2 kms.

  Design a wireframe prototype

Design a wireframe prototype to meet the needs of the personas and requirements.

  Deisgn level-one dfd for real estate system

Deisgn a level-1 DFD for the following scenario. The purpose of green acres real estate system is to assist agents as they sell houses. Sellers contact agency, and agent is assigned to help seller complete listing request.

  Internal events by creatinguml one state diagram

Which event driven modeling can be used to illustrate how system responds to external and/or internal events by creating a UML ONE State Diagram.

  Diffie hellman key agreement

Assume that users Alice and Bob carry out the Diffie-Hellman key agreement protocol with p = 50147 and g = 5. Assume that Alice chooses x = 1367 and Bob chooses y = 3789.

  Development of a small software system

Analysis, design and development of a small software system.

  Drawing diagram of payroll edi system

Draw diagram of the proposed payroll EDI and EFT system. It is suggested for students to utilize Microsoft Visio to draw the diagram.

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