Unix filesystem upon logging in to the system

Assignment Help Other Subject
Reference no: EM13252689

Remember to use the correct email subject header - Unix/Linux Assn 2

Your home directory is where you are placed within the UNIX filesystem upon logging in to the system. After logging in, determine where your home directory is.

A) Give the complete path of your directory.

What is the path of my home directory relative to yours?

(I want the relative path. Do not use the ~ syntax.)

Create a directory called tempdir within your home directory. cd into tempdir and touch a file called tempfile. cd back up to your home directory.

Using the rm command, remove the directory called tempdir.

A) What happened and why? (Be specific)

(Be careful with the next command)

Using the command rm -r, remove the directory called tempdir.

B) What does the -r option of the rm command do?

Create a sub-directory within your home directory and call it dir1. cd into dir1 and using the touch command, create a file called file1.

A) How large is the file, file1,in bytes?

B) What is the creation date/time on the file?

In the /etc directory there is a file called group. Construct a grep command string to search this file for the string root and output a count of the number of lines that the string appears in. (Do NOT use wc to do this)

A) How many lines did the string root appear in within the file called group?

B) Which grep command option did you use?

Reference no: EM13252689

Questions Cloud

Assume ambient pressure : Our clothes drier needs to remove 1 L of water from your wet clothes and air flows through the drier at a rate of 6 mol/min. How long does it take to dry your clothes if the air enters dry (no water) and leaves fully saturated with water?
Create your own computer tool-calculates specific volume : Create your own computer tool (e.g., spreadsheet or Matlab) that calculates the specific volume (m3/kmol) of a gas or vapor as a function of T and P using the ideal gas law, Virial Equation of State and the SRK Equation of State
Why is budgeting important for a company : Why is budgeting important for a company? What are some reasons that a company would not prepare a budget?
Identify two symptoms : Identify a business decision situation that requires action in any organization. Be clear and succinct.
Unix filesystem upon logging in to the system : Create a sub-directory within your home directory and call it dir1. cd into dir1 and using the touch command, create a file called file1. Your home directory is where you are placed within the UNIX filesystem upon logging in to the system. After logg..
Technological advancements and challenges : Technological Advancements and Challenges
The political risks associated with doing business : What are some of the political risks associated with doing business in international operations?
Name and salary of an employee : Write a program in java that reads in the name and salary of an  employee. Here the salary will denote an hourly wage, such as  $9.25. Then ask how many hours the employee worked in the past week.
What is the purpose of glycolysis : What is the purpose of glycolysis? Considering that no oxygen is involved, what is meant when we state that glycolysis is the "anaerobic oxidation of glucose" At what point or points do carbohydrate fuels enter glycolysis (not just glucose but the mo..

Reviews

Write a Review

Other Subject Questions & Answers

  Government policy favor certain kinds of immigrants

Should United States government policy favor certain kinds of immigrants? Should citizenship preference be given to the neediest applicants? The most talented? The most oppressed? The richest?

  Differences in women and men employment positions

Mention the major differences in male and female employment, then analyze the factors underlying these inequalities in work opportunities, conditions, and rewards.

  Balance the nuances of the results lens

Can the Results Lens thinking harmonize or divide individuals in our community? How? What creative choices can be made to balance the nuances of the Results Lens?

  Construct three different personality theories

If you could cut and paste three constructs from three different personality theories and develop your own theory of personality, what would that theory look like?

  Examining subsistence levels

Do you think there is the point at which we "cannot smell the roses" (in the philosophical sense) if we have (own) too much?

  Our brainstormed keywords are circle

Our brainstormed keywords are circle the ones you think will be most useful - Each group will have 20 minutes to present and answer any questions from the audience.

  Question regarding corporate restructuring

How would Joe find out the base rate of successful employees at the company?

  Midterm assignment-accentuate-promote higher-level thinking

This midterm assignment is designed to: (a) accentuate and promote higher-level thinking; (b) encourage academic exploration for further understanding the relationships between complex organizations and leadership; (c) communicate effectively the key..

  The brain structure

The brain structure that results in continuous sleep when severely damaged and produces arousal and alertness when electrically stimulated is the

  Explain the global age

What do you mean by this term? Write down its "main themes," since 1945? which do you consider most significant? Explain why?

  Communication improved your interpersonal relationships

How has mediated communication improved your interpersonal relationships?

  Case-in-chief during the opening statement

Why do you think that the prosecution might include facts that are irrelevant to the case-in-chief during the opening statement?

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