Sbonne7_Homework2

docx

School

Louisiana State University *

*We aren’t endorsed by this school

Course

4070

Subject

Information Systems

Date

Dec 6, 2023

Type

docx

Pages

2

Uploaded by BarristerLarkPerson771

Report
Use the Linux commands provided in Appendix A-Part 1 (Linux) to perform the following tasks. Submit a document that contains: (1) command for each question and (2) screenshot of its result if the screenshot is asked. For example, for the first question, your submission should contain the following: Q1: Create a directory with the name of “yourPawsID_isds4070” (for example, my PawsID is nliang, so the name of my dictionary is nliang_isds4070) in the current directory. No Screenshot . Command for Q1: $ mkdir nliang_isds4070 Because this question asks for No Screenshot , so you do not need to attach screenshot of its output. 1. Create a directory with the name of “yourPawsID_isds4070” (for example, my PawsID is nliang, so the name of my dictionary is nliang_isds4070) in the current directory. No Screenshot . mkdir sbonne7_isds4070 2. Use the WinSCP to move two files from your computer (host computer) to the Hadoop cluster in the newly created directory. Display all files along with size and timestamp. Attach Screenshot . hadoop fs -copyFromLocal Hello_World.txt /user/sbonnette12/Hello_WorldHD hadoop fs -copyFromLocal ISDS4070.txt /user/sbonnette12/ISDS4070HD 3. Change the current directory to the home directory. No Screenshot . Cd.. 4. Create a copy of one of the files you moved in step 2 above and place it in the "present working directory." No Screenshot . cp Hello_World.txt sbonne7_isds4070/Hello_Worldd 5. Open vi editor to edit a file. Attach Screenshot .
6. Write some random text to the file. Attach Screenshot . 7. Quit the editor. No Screenshot . Esc :wq! 8. Create a group with the name of “yourPawsID” and a user with the name of “yourPawsID_user1”. For example, my Paws ID is nliang, so I need to create a group called “nliang”, and a user called “nliang_user1”. No Screenshot . sudo groupadd sbonne7 sudo useradd -g sbonne7 sbonne7_user1
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help