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?
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..
|