Difference between the reported size of directories

Assignment Help Basic Computer Science
Reference no: EM13881454

What is the difference between the reported size of directories when using the command ls versus the command du? Explain.

What is the difference between the command df and the command du? Provide a scenario where a system administrator would use each.

Suppose you needed to install a program which had both methods available (binary and source) and that dependencies and control over the installation directories were not an issue with this particular program. Provide and explain a pro/con for each method.

Suppose you have a new killer app, which does NOT require the user to be root, which you want to make available to only some users (a specific list now, but more people may need to use it later). How would you manage the access of the program to the selected users?
Part II: Commands (70%):

Please simply write the command(s) which performs the following tasks Debian (your VM) in as few commands as possible. Note: If you do not indicate which shell you are using, I will assume you are using the bash shell (whether or not you are actually using this shell)

Suppose you had a program that stored log files in the directory /var/log/impProgram and you were worried about the disk running out of room because of the logging requirements for that program. Additionally, the configuration files for this important program are in /etc/impProgram and you need to protect the configuration files from the rest of the computer by making them read-only and on their own read-only partition. These two directories must be available at boot. Suppose you have a 100MB drive laying around your office which you decide to use to solve this problem.

NOTE: you will need to create the directories and insert something in them (simple text files will work), you will need to create a 100MB VirtualBox virtual disk and add it to the VM, partition it into two partitions, format them, and so on to solve the problem. You need to list commands and instructions for interactive commands and you will need to show the outputs of the various commands including the contents of fstab and the results of df -h after rebooting when finished

Create three users cutler, forte, and royal using system defaults for all three using the useradd command. After creating the users, set their home directories to /home/bears/username where username is their username. Add a group named bears and add all three users to this group.

Create a saints group. Change the defaults for adding users using the following defaults: base directory -> /home/neworleans, shell -> /bin/sh. Create three users: brees, watson, and snead using the new defaults. Change the defaults back to the original defaults.

Create the football group and then create a directory for anyone in the football group to share named /usr/shared/football and change its permissions so that members of the group have full access to the group. Add a member to the football group and create a link to the directory inside their home directory.

Remove all users and groups created thus far and remove all of their home directories!

Install the Java JDK using apt-get (you will need to use apt-cache search to search for it)

Reference no: EM13881454

Questions Cloud

Expository essay help, need more connections : Expository essay help, need more connections and interpretations between quotes and a strong thesis
Indicate how feherty would account for its investments : Feherty, Inc., purchased the following investments during December 2013:
Introduction and history of pastas history : Please do research about  ( pasta )  - table of contries  - introduction and history of pastas  history then ingredients then production then market then pasta in ART
How would you rationalize negative sign for this variable : How would you interpret the coef?cient of -0.0051 attached to checking account variable? How would you rationalize the negative sign for this variable?
Difference between the reported size of directories : What is the difference between the reported size of directories when using the command ls versus the command du? Explain.
Proofreading and revision for the paper thesis : Proofreading and revision for the paper thesis/ topic sentence/ body paragraphs
Chris smith coffee and pastry cart : Chris Smith coffee and pastry cart and a procurement card. Suggest some controls that should be in place. Identify some resources that need to be purchased for this business.
Comment on the financial statements : Your paper should comment on the financial statements for your company as they relate to the information presented of your textbook, including the notes to the financial statements.
What the results say about this sample of nursing workforce : Review these facts and describe what the results say about this sample of the nursing workforce. What do you believe was the intent of the researcher who designed the survey

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Provide a sql statement that displays the isbn

Provide a SQL statement that displays the ISBN, TITLE and PROFIT for all books where the COST is greater than or equal to $10.00 and less than or equal to $40.00. (The PROFIT is the difference between RETAIL and COST.) Include only those book..

  A research paper on the history of major league baseball

A research paper on the history of Major League baseball and the use of steroids, Performance enhancing drugs and how major league star Alex Rodriguez on his decline of baseball using PED's. need a 5-6 page double space 1200-1500 word count. at least..

  Windows server 2003 and windows server 2008 as dc

What are the special considerations that exist in terms of having both windows server 2003 and windows server 2008 as DC

  Technologies dependent on the use of cryptography

How are biometric technologies dependent on the use of cryptography?

  Explain enterprise architecture using zachman framework

In your opinion, does framework necessarily lead to the top-down approach to development, e.g. you start with models in row 1, then work on row 2 models, and so on?

  How many units of each component ordered from each supplier

If the Edwards production plan for the next period includes 1000 units of component 1 and 800 units of component 2, how many units of each component (C1, C2) should be ordered from each supplier (S1, S2, S3)?

  Find some articles or research on project management

Do the same for key points that make project management easier for an Agile project.

  Find and display the largest of a list of positive numbers

solve the problem by using raptor. Find and display the largest of a list of positive numbers entered by the users. The user should indicate that he/she has finished entering numbers by entering a 0.

  Disadvantages of any solution employed

ABC Institute of Research has sensitive information that needs to be protected from its rivals. The Institute has collaborated with XYZ Inc. to research genetics. The information must be kept top secret at any cost.

  Summary concerning the specific article ssl encryption

Write a one-page summary concerning the specific article SSL Encryption - Securing Internet of Things (IoT) and explain how you think the issue affects network and/or global security in general. Do not forget to include the APA citation for the artic..

  Which vulnerability be evaluated for extra controls first

If organization has three information assets to evaluate for risk management as shown in accompanying data, which vulnerability must be evaluated for additional controls first? Which one must be evaluated last?

  Identify three different types of analysis models

Identify three different types of analysis models (analytical, simulation-based, and surrogate models) that can be used to represent the weight-holding capacity of the table as a function of the geometrical variables.

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