What command would you use to find all files in your home

Assignment Help Computer Engineering
Reference no: EM132077752

You need some help with this linux Operation systems.

Display the complete command that will accomplish the following actions. (ie. If you were asked which command would allow you to navigate to the /var directory you would display the following: cd /var (NOT just the command cd))

1. What command(s) would you use to extract all of the usernames from a database called /etc/passwd and then sort this output alphabetically in reverse order?

How would you run this same command and have the output saved in a file called System_Users?

2. Which command would you use to extract the first 15 characters in each line of the /etc/passwd file?

3. What command would you use to find all empty (0 byte) files in the /etc directory? How could you run the same command and not have any error messages show up on the console?

4. What command would you use to find all files in your home directory that are owned by the sysadmin user?

5. What command would you use to find all the instances in which the word "host" is used in the /etc directory and show this information one screen at a time?

6. What command would you use to determine the number of lines and words in the /etc/mailcap file?

7. What command would you use to view only the first seven (7) lines of the /etc/mailcap file?

Reference no: EM132077752

Questions Cloud

Demonstrate how to implement loops in mips : The program should read from memory the contents of an array containing an arbitrary number of characters, followed by a period (‘.').
What dimensions should the rectangle have to maximize : A wire 16 feet long has to be formed into a rectangle What dimensions should the rectangle have to maximize the area?
Dimensions of the page be so that the least amount of paper : What should be the dimensions of the page be so that the least amount of paper is used?
How fast is the area of the spill increasing : How fast is the area of the spill increasing when the radius of the spill is 60 ft?
What command would you use to find all files in your home : What command(s) would you use to extract all of the usernames from a database called /etc/passwd and then sort this output alphabetically in reverse order?
How fast will the foot be moving away from the wall : A 13-foot ladder is leaning against a wall. If the top of the ladder slips down the wall at a rate of 2 ft/s
What is the smallest slope of the curve : What is the smallest slope of the curve? At what value of x does the curve have this slope?
What is the general format for a try-catch block : What happens if method3 throws an exception? What happens if method2 has a catch block which can handle the exception?
Find the rate of change of a population of size : The rate of change of a population of size P(t) = t^3 + 4t + 9 at time t = 3 is ______ units per unit of time.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Imagine you are an administrator for a large corporation

managing communication securitynbspnbspplease respond to the followingimagine you are an administrator for a large

  Define a symbolic equation for each

Define a symbolic equation for each, and solve by using MATLAB's symbalic capability.

  Write an efficient algorithm to solve the given problem

Suppose that you wrote an exhaustive search algorithm. How many possible solutions would you examine? Write an efficient algorithm to solve this problem.

  Define an sql statement that changes address of amy stevens

Define an SQL statement that changes the address of Amy Stevens in the 9E=h-O table. Define an SQL statement that deletes the customer with a Customer Id.

  Creating different volume such as the striped, mirrored

What should you do in order to create a different volume kind such as the striped, mirrored, or Raid 5 volumes? Why utilize the Windows command line when we live within the GUI world?

  Discuss the ajax model in relation to good software design

Discuss the AJAX model in relation to good software design, and the essence of the quoted question. Will AJAX further promote the development of Web based software, or is it just another fad?

  Explain the use of wrapper classes for non-object data types

Explain the use of wrapper classes for non-object data types in object oriented languages? Why are they necessary? Should the syntax of wrapping/unwrapping be invisible to the programmer

  Write a program for policy iteration problem

Write a program for policy iteration and re-solve Jack's car rental problem with the following changes.

  Compare the cpu efficiency and memory efficiency

Compare the CPU efficiency and memory efficiency between ArrayList and Vector. You are tasked to: A. Develop a program to compare the CPU efficiency and memory efficiency between searching against java.util.ArrayList and searching against java.uti..

  An expression for number of 2 x 2 switching elements needed

A stage of n x n banyan network consists of (n/2) 2 x 2 switching elements. The first stage directs packets to the right half of the network, the next stage to the correct quarter, and so on, until the packet is routed to the right output.

  Develop flip flop which is equivalent to the 74x74

Develop flip flop which is equivalent to the 74x74 positive-edge-triggered flip flop using a 74x109 positive-edge-triggered flip flop. No other component is to be used.

  Questionrecognize level within a database system user

questionrecognize level within a database system user programmer of application software designer of the dbms software

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