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

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

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