Write a bash shell script that prompts you for a user

Assignment Help Computer Engineering
Reference no: EM132154702

UNIX/LINUX ASSIGNMENT

Write a Bash shell script that prompts you for a user login name and displays all other users in the same group of this user.

Please display login name and user's name for each user. Do proper exception handling in your code.

For instance, your code must exit with nonzero when the supplied user login name does not exist. Please specify the name of your script file in the answer text.

Reference no: EM132154702

Questions Cloud

What is the future value at the end of year : What is the future value at the end of year 15 of $10,000 deposited today into an account that pays interest of 4.5% p.a., but with monthly compounding?
Undertake investment opportunity : However, a bank offers to lend you up to $100,000 at 8% with no conditions. Should you undertake this investment opportuni
Did the command you entered immediately before echo : You type in echo $ into the terminal and it prints out 127. Did the command you entered immediately before echo $? execute successfully?
What is the cash flow to shareholders : Peggy Grey's Cookies had net income of $272,800. The firm paid out 28 percent of net income to its shareholders as dividends.
Write a bash shell script that prompts you for a user : Write a Bash shell script that prompts you for a user login name and displays all other users in the same group of this user.
What is the premium on the option : The stock sells for $30 a share, and the option has an exercise price of $28.50. What is the premium on the option?
What is the future value on the day of the last deposit : What is the future value on the day of the last deposit of 25 annual deposits of $750 per year (first deposit to be made today) given an interest rate of 5.5%
Implement splitlists as an array-based member function : Implement SplitLists as an array-based member function of the Unsorted List ADT.
How do you display a list of all processes without the ps : How do you display a list of all processes without the ps header line where processes with the same name are grouped together?

Reviews

Write a Review

Computer Engineering Questions & Answers

  Questionthe fibonacci sequence is series of integers0 1 1 2

questionthe fibonacci sequence is series of integers.0 1 1 2 3 5 8 13 21 34 55 89observe the pattern? each element in

  Develop an object-oriented domain model

Objectives: To learn to identify the relevant use-cases for a given application, describe the use cases, and develop an object-oriented domain model. This use case registers a skater for a Ladies' Single competition entry, for example. This use mu..

  The checksum field in a single parity bit scheme

What will be the value of the checksum field b for the case of a two-dimensional parity scheme? Your answer should be such that a minimum-length checksum is used.

  How you will apply collaboration in course with your team

Consider the multiple definitions of collaboration. Define collaboration and how you will apply it in this course with your Learning Team. Be sure to reference and cite your sources.

  Write a program that prints the number of bytes used

Write a program that prints the number of bytes used to represent the char, int, short int, long int, float and double types on your computer.

  Implement a financial app for macquarie financial group

ISYS254 - Applications Modelling and Development - implement a financial app for Macquarie Financial Group to generate a quarterly summary report.

  Define government emergency management agencies

Throughout the history of emergency management in the United States, priorities set for government emergency management agencies

  Give an example of word level ambiguity in nlp

What does supervised leaning require that is different from unsupervised learning. Note - you cannot just say supervision.

  Create a new file in the nano editor

Create a new file in the Nano editor named hello.cpp. Compile the hello.cpp file into an executable file named hello using the command: g++ -o hello hello.cpp.

  Discuss four types of perceptual distortions in detail

Discusses four types of perceptual distortions: stereotyping, halo effects, selective perception, and projection. Define each of these and provide an example.

  Identify the encryption algorithm

An encryption algorithm turned GOOD MORNING AMERICA into FNNC LNQMHMF ZLDQHJZ Identify the encryption algorithm and express it in a mathematical form.

  Develop a checkout lane simulation

Develop a checkout lane simulation that can be used to determine the optimal number of lanes that Cougar Mart should have open.

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