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 uml collaboration diagrams using microsoft visio

Create UML collaboration diagrams using Microsoft Visio or another drawing tool capable of preparing properly formatted UML collaboration diagrams.

  How process modeling might be beneficial

Provide an example of how process modeling might be beneficial, whether specifically for IT system development project or not.

  Create either pseudocode or flowchart for program

Create either pseudocode or a flowchart for a program that does the following: Prompt the user to enter a sales tax rate. Prompt the user to enter a price.

  Draw erd for student entity

Draw and ERD for this situation. What attribute or attributes did you designate as the identifier for the STUDENT entity? Why?

  Draw class diagram to represent employee of company

Draw a class diagram for the following problem. A company has a number of employees. The attributes of employee include employeeID (primary key), name, address, and birthdate.

  Write down main ideas behind relational model

Write down the main ideas behind relational model? Why are they an improvement over what came before? In what ways is the relational model restrictive?

  Star life cycle model

interface design proces, Star Life Cycle as a model for interface Design, Nielsen's usability principles, Shneiderman's eight golden rules

  Create a table with a primary key to identify business

Construct a table that will store data about each student that took a course and what grade they received. The data should include the semester of completion.

  Draw context diagram level zero and level one

Draw Context diagram, level0 and level1 (if need) for the following: The user submit her/his name to the system, the system will tell the user if he is a boy or a girl or don't know by looking up his name in database of names saved in the system.

  List diffent entities or objects and logical processes

List the diffent entities or objects,logical processes,data flows, and dfata stores that are involoved. starting from the time you submitted your time sheet.

  Design conceptual diagram to identify hardware elements

Design a conceptual diagram which identifies the hardware elements present inall computer systems and their relationships?

  Differentiate between alpa and beta testing

Differentiate between alpa and beta testing, Consider a piece of an embedded software that is a part of a T.V. Which of the types of system testing would you choose to apply and at what time?

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