Provide the command to display the entry for the root group

Assignment Help Operating System
Reference no: EM132080098

Need some help with UNIX/linux commands and line anchors and using ^ and $ in the same regex.

The /etc/group file defines the groups to which users belong. It's format is as follows:

Group : password : Group ID : Group List

Group List is a comma-separated list of usernames for users who are members of the group

Password is an encrypted field and will usually show "x"

Group is the name of the group, shown in the group field of ls -l

1. Provide the command to display the entries in the /etc/group file that contain the root (either as group or member of a group.

2. Provide the command to display the entry for the root group in the /etc/group file.

3. Provide the command to display the number of entries of the /etc/group file that have no users assigned to the group list.

4. Provide the command to display the entries of the /etc/group file that have root as member of a group, bot not as a group name.

Reference no: EM132080098

Questions Cloud

What is the ph of a buffer solution : What is the pH of a buffer solution comprised of 3.95 M HCOOH and 0.35 M HCOO- in a 1 L solution after 0.30 mol NaOH (where Ka = 1.77 x 10-4) is added?
Complete product design specification : Teesside University - Derive at least four concept designs to satisfy the given specification. Use short written descriptions and simple sketches to illustrate
Chemiluminescent chemical reaction : In a university laboratory experiment the rate of disappearance of ozone (O3) was measured to be 9 x 10-3 M/s. Simultaneously, the concentration of ozone
Write a java method to take a positive integer value : Write a java method to take a positive integer value as its parameter and returns a string of 1s and 0s that represents its binary value.
Provide the command to display the entry for the root group : Provide the command to display the entries in the /etc/group file that contain the root (either as group or member of a group.
Concentration of the original silver nitrate solution : Calculate the amount concentration of the original silver nitrate solution.
What is the difference between the two commands : What is the difference between the two commands (or regular expressions) below?
Relationship between the rate of appearance : What must be the relationship between the rate of appearance of B and the rate of appearance of C?
Locate a single product and display its name and price : The establishment called ABC Enterprise requires a Java program to keep a database of the inventory of the products that it sells.

Reviews

Write a Review

Operating System Questions & Answers

  Implementation of algorithms for process management

The Shortest Job Next (SJN) algorithm queues processes in a way that the ones that use the shortest CPU cycle will be selected for running rst.

  Develop a user mode command interpreter

Develop a user mode command interpreter which support list-short.

  Memory allocation in operating system

Analysis and implementation of algorithms for memory allocation in operating system, Explain First- t and best- t methods are used in memory allocation in operating systems.

  Stand alone child process

Forking the child process

  Write a multi-threaded program

Write a multi-threaded program to solve producer and consumer problem

  Marginal and average cost curves

n a competitive market place (pure competition) is it possible to continually sell your product at a price above the average cost of production.

  Simulating operating systems scheduling

Simulate the long-term scheduler, the short-term scheduler and the I/O scheduler of the computer using the First-Come-First-Serve algorithm.

  Issues with trusted platform module

Research paper discussing the issues with Trusted Platform Module (TPM)

  Threads

Explain a complication that concurrent processing adds to an operating system.

  Design and programming

Use the semaphore methods to control the concurrency of the solution

  Virtual machines

Virtual machines supported by a host operating system

  Discuss an application that benefits barrier synchronization

Discuss an application that would benefit from the use of barrier synchronization

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