How many users are on the local system

Assignment Help Computer Engineering
Reference no: EM132217602

1. Is each of the following an absolute pathname, a relative pathname, or a simple filename?

a. milk_co

b. correspond/business/milk_co

c. /home/max

d. /home/max/literature/promo

e. ..

f. letter.0210

2. List the commands you can use to perform these operations:

a. Make your home directory the working directory

b. Identify the working directory

3. If the working directory is /home/max with a subdirectory named literature, give three sets of commands you can use to create a subdirectory named classics under literature. Also give several sets of commands you can use to remove the classics directory and its contents.

4. You should have read permission for the /etc/passwd file. To answer the following questions, use cat or less to display /etc/passwd. Look at the fields of information in /etc/passwd for the users on the local system.

a. Which character is used to separate fields in /etc/passwd?

b. How many fields are used to describe each user?

c. How many users are on the local system?

d. How many different login shells are in use on your system? (Hint: Look at the last field.)

e. The second field of /etc/passwd stores user passwords in encoded form. If the password field contains an x, your system uses shadow passwords and stores the encoded passwords elsewhere. Does your system use shadow passwords?

Reference no: EM132217602

Questions Cloud

Calculate the average of the values contained in the integer : Calculate the average (as a double) of the values contained in the integer variables num1, num2, num3 and assign that average to the double.
Write a program that prints the 128-character ascii table : Write a program that prints the 128-character ASCII table. It should print the table in eight tab-separated columns.
Write a statement that increments the value of the int : Write a statement that increments the value of the int variable total by the value of the int variable amount.
Prompt the user for a string that contains two strings : Report an error if the input string does not contain a comma. Continue to prompt until a valid string is entered.
How many users are on the local system : Which character is used to separate fields in /etc/passwd? How many fields are used to describe each user? How many users are on the local system?
Write a loop that subtracts 1 from each element in lower : Write a loop that subtracts 1 from each element in lowerScores. If the element was already 0 or negative, assign 0 to the element.
Implement a recursive descent parser for a logic calculator : The program should not exit when it encounters an error in the expression. Rather, it should output error information and then accept the next expression.
Explain what needs to be done to defend accounts : Eplain What You Have to do to Defend Accounts. Explain what needs to be done to defend accounts .
Give the associated range of destination host address : Consider a datagram network using 8-bit host addresses, i.e., IP addresses range from 0 to 255.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Describe the scope of the project and control measures

You are now in the final stage of the project plan development. All previous documentation should be combined into one document that will serve as the statement

  Describe how are the topics of the two articles related

Prepare a brief synthesis and summary of the two articles. Describe How are the topics of the two articles related? What information was relevant and why?

  The function will return the amount that the tip should be

Write a function that expects two parameters, one will be the amount of the dinner check(a float) and the other will be the percentage of tip expressed.

  Calculate and return the tip on a restaurant bill

Write a C# function called calcTip to calculate and return the tip on a restaurant bill.

  Creating the program

Develop a class named Book which holds a stock number, title, author, price, and the number of pages for a book. Involve a method which sets all the data files and another which prints the values for each data field.

  List all crimes that do not have a hearing date scheduled

List all crimes that don't have a hearing date scheduled. List the crime ID, criminal ID, date charged, and hearing date.

  Create a ticket reservation class for issuing tickets

Create a ticket reservation class for issuing tickets to on-campus events such as plays, musicals, and home basketball games.

  Define four phases of an information system''s life cycle

What are the 4 phases of an information system's life cycle? The business process of building and managing information system has four phases. These phases apply to all information systems although different systems may be acquired using different..

  Discuss about the snmp tools

In order to ensure quality of service, what are the measured metrics employed in trunk test system and traffic measurement system.

  Questionyour employer xelpharm is a large manufacturer and

questionyour employer xelpharm is a large manufacturer and distributor of generic over- the-counter healthcare

  Minimize the total cost

The problem is to assign the people to the jobs to minimize the total cost of the assignment. Express the assignment problem as a 0-1 linear programming problem

  What situations would not warrant the use of an array

What situations would not warrant the use of an array? Provide an example showing why. Research the concept of C++ vectors.

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