Note: Please follow the instructions below step by step and finish the required task before the...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Note: Please follow the instructions below step by step and finish the required task before the lab session ends and ask the lab instructor to grade your work in the lab. Then write a report by answering the questions and upload the report (named as Lab2_FirstNameLastName.pdf or Lab2_FirstNameLastName.doc) to the folder "Lab2_Part2_InLab" of the Dropbox in the iCollege system. You can upload the screenshots later (with 10% penalty) but no later than 11:59 pm on the date you are taking this lab session. Please add the lab assignment NUMBER and your NAME at the top of your file sheet. Open your terminal and connect to snowball server. Change your directory to your home directory (cd~), and then create a new directory named as "Lab2_Part2" (mkdir Lab2_Part2). After that, go to directory Lab2_Part2 (cd Lab2_Part2) and please download a test file by the following command (internet access required): cp /home/ncasturil/public/ExecutiveInfo.csv ExecutiveInfo.csv Be sure it succeeds using "Is" to see the file name "ExecutiveInfo.csv" listed. Then please write the commands you will issue to complete the following tasks step by step. (You cannot use cd to change the working directory during the steps except step (9). Each task requires only one single-line command) (1) You may be curious about what information is stored in this file. So please use cat to display the content in "ExecutiveInfo.csv" using a relative pathname. (2) We know that cat is good for showing the content of a small file. But since the file contains many lines, maybe you still cannot find out what information this files stores after step (1). So please use head to list the first five lines in "ExecutiveInfo.csv". (3) Use we to check the number of executives recorded in "ExecutiveInfo.csv". (4) Finish the task in step (3) by using the cat command. (Hint: Recall a special option you used in cat in last lab). 1 (5) Show the content on line 50 only by using head and tail command. (6) Use mkdir to create a new directory "Data" under your own home directory using absolute pathname. (7) Copy "ExecutiveInfo.csv" into your "Data" directory and name it as "myExecutiveInfo.csv". (8) Check the existence of "myExecutiveInfo.csv" using Is with a relative pathname. (9) Go into your "Data" directory using relative pathname. (10) Display the absolute pathname for current working directory. (11) Use mkdir to create a file structure as below in your "Data" directory using relative pathnames. CSV Backup Data TXT Backup (12) Use cp to copy directory "Lab2_Part2" from your home directory to "Data" using relative pathname. (13) Rename the directory " Lab2_Part2" as "Others". (14) Remove the directory "TXT". (15) Use history to list the commands you previously typed. (16) Store the last 30 commands you typed into file "Lab2.log" using relative pathname. The file should be created under directory "Backup" of "CSV". Note: Please follow the instructions below step by step and finish the required task before the lab session ends and ask the lab instructor to grade your work in the lab. Then write a report by answering the questions and upload the report (named as Lab2_FirstNameLastName.pdf or Lab2_FirstNameLastName.doc) to the folder "Lab2_Part2_InLab" of the Dropbox in the iCollege system. You can upload the screenshots later (with 10% penalty) but no later than 11:59 pm on the date you are taking this lab session. Please add the lab assignment NUMBER and your NAME at the top of your file sheet. Open your terminal and connect to snowball server. Change your directory to your home directory (cd~), and then create a new directory named as "Lab2_Part2" (mkdir Lab2_Part2). After that, go to directory Lab2_Part2 (cd Lab2_Part2) and please download a test file by the following command (internet access required): cp /home/ncasturil/public/ExecutiveInfo.csv ExecutiveInfo.csv Be sure it succeeds using "Is" to see the file name "ExecutiveInfo.csv" listed. Then please write the commands you will issue to complete the following tasks step by step. (You cannot use cd to change the working directory during the steps except step (9). Each task requires only one single-line command) (1) You may be curious about what information is stored in this file. So please use cat to display the content in "ExecutiveInfo.csv" using a relative pathname. (2) We know that cat is good for showing the content of a small file. But since the file contains many lines, maybe you still cannot find out what information this files stores after step (1). So please use head to list the first five lines in "ExecutiveInfo.csv". (3) Use we to check the number of executives recorded in "ExecutiveInfo.csv". (4) Finish the task in step (3) by using the cat command. (Hint: Recall a special option you used in cat in last lab). 1 (5) Show the content on line 50 only by using head and tail command. (6) Use mkdir to create a new directory "Data" under your own home directory using absolute pathname. (7) Copy "ExecutiveInfo.csv" into your "Data" directory and name it as "myExecutiveInfo.csv". (8) Check the existence of "myExecutiveInfo.csv" using Is with a relative pathname. (9) Go into your "Data" directory using relative pathname. (10) Display the absolute pathname for current working directory. (11) Use mkdir to create a file structure as below in your "Data" directory using relative pathnames. CSV Backup Data TXT Backup (12) Use cp to copy directory "Lab2_Part2" from your home directory to "Data" using relative pathname. (13) Rename the directory " Lab2_Part2" as "Others". (14) Remove the directory "TXT". (15) Use history to list the commands you previously typed. (16) Store the last 30 commands you typed into file "Lab2.log" using relative pathname. The file should be created under directory "Backup" of "CSV".
Expert Answer:
Answer rating: 100% (QA)
Below find the solution Downloading the file in your lab system cd this will change the current directory location to your home directory mkdir Lab2Part2 this will create a directory folder as Lab2Par... View the full answer
Related Book For
Fraud examination
ISBN: 978-0538470841
4th edition
Authors: Steve Albrecht, Chad Albrecht, Conan Albrecht, Mark zimbelma
Posted Date:
Students also viewed these accounting questions
-
Truth table in C programming Please follow the instructions below and include comments and snipshot for explanation thanks. 1) Copy the C program below. This program generates the truth table for a...
-
In the Internet File Server example (Figure 6-6), can the connect( ) system call on the client fail for any reason other than listen queue being full on the server? Assume that the network is...
-
In what ways is using a name server better than using static host tables? What are the problems and complications associated with name servers? What methods could be used to decrease the amount of...
-
In which control account would you expect to find a provision for doubtful debts?
-
Describe the procedures for providing feedback.
-
Dennis Harding is considering acquiring a new automobile that he will use 100% for business. The purchase price of the automobile would be $48,500. If Dennis leased the car for five years, the lease...
-
Haupt Consulting, Inc., began operations and completed the following transactions during the first half of December: Requirements 1. Analyze the effects of Haupt Consultings transactions on the...
-
Mario Company experienced the following events: 1. Purchased merchandise inventory for cash. 2. Sold merchandise inventory on account. Label the revenue recognition 2a and the expense recognition 2b....
-
Do the good guys win? Can a corporation that practices corporate social responsibility (CSR) win over one that focuses on profits only? What are some advantages of spending money on CSR?
-
1. How can managers use recommendations derived from need theories to motivate temporary employees? Discuss. 2. To what extent can managers use Herzberg's two-factor theory to motivate temporary...
-
Using SQL and Adventure Works Datawarehouse database and the code below DELIMITER $$ CREATE PROCEDURE Create_CustomerGeography() BEGIN DROP TABLE IF EXISTS CustomerGeography; CREATE TABLE...
-
International Strategy and Risk Management" will explore enterprise strategy and risk mitigation. This includes an assessment of the company's Enterprise Risk Management program. As a Team you should...
-
My objective is to describe the concept of market efficiency, including the efficient market hypothesis and its three forms used to explain available information in the market to make investment...
-
The information below was used to make a bank reconciliation for Bertha Company at March 31: According to the bank statement, the bank balance as of March 31 was $8,765. According to the books, the...
-
What is the magnitude of the resulting force on the -3 nC charge at the origin? Answer in units of nN.
-
Suppose that you have a sample of material B in the shape of a cylinder of length 12 cm and diameter 1.5 cm. The Young's modulus of material B is 85 GPa. In order to stretch the sample by 0.25 mm...
-
What is one responsibility of a Scrum Master/Team Coach? Testing the system Prioritizing the backlog Demoing the system Improving flow OOOO
-
Nike manufactures shoes and sportswear. How has the Internet changed the way this company communicates with its suppliers and retail customers?
-
(True and fasle) 1. Fraud perpetrators are often those who are least suspected and most trusted. 2. Unintentional errors in financial statements are a form of fraud. 3. Occupational fraud is fraud...
-
What are the steps to collecting electronic evidence?
-
By ordering unnecessary products at inflated prices, the purchasing manager of XYZ Company defrauded his employer of over $40,000 over a two-year period. How could you have detected this fraud?
-
Using the Newmark method with \(\alpha=\frac{1}{6}\) and \(\beta=\frac{1}{2}\), solve Problem 11.20. Data From Problem 11.20:- The equations of motion of a two-degree-of-freedom system are given by...
-
Using MATLAB function ode23, solve the differential equation \(5 \ddot{x}+4 \dot{x}+3 x=6 \sin t\) with \(x(0)=\dot{x}(0)=0\).
-
Find the response of a simple pendulum numerically by solving the nonlinear equation: \[\ddot{\theta}+\frac{g}{l}\left(\theta-\frac{\theta^{3}}{6} ight)=0\] with \(\frac{g}{l}=0.01\) and plot the...
Study smarter with the SolutionInn App