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

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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