pdf

School

St. Petersburg College *

*We aren’t endorsed by this school

Course

2321

Subject

Mechanical Engineering

Date

Dec 6, 2023

Type

pdf

Pages

4

Uploaded by AmbassadorLionMaster609

Report
Before you begin - READ CAREFULLY!! This list of tasks below are for the textbook (not LABSIM). The ISBN of the 5th edi±on of the textbook is: 978111958220 Also known as the 5th edi±on of the textbook 5th Edi±on. If you purchased the textbook from the college bookstore, you purchased the 5th edi±on. It should say it on the cover of the textbook. If you purchased the 4th Edi±on from an outside source, you purchased the wrong edi±on. Email me. Tasks for Project 1 – READ CAREFULLY! Task list for the 5th Edi±on of our textbook. Tasks assigned for Project 1 due Week 5 Assigned tasks (Read carefully!) Read carefully! References: Textbook Chapter 1 and Chapter 4 - 1. Open your command line terminal in your Fedora vm. At the prompt type: pwd No screen shot is required at this time. You will submit the screen shot at the end of steps 1 through 5. See step 6 below. 2. From the lesson in the textbook - Open your command line terminal in your Fedora vm. Use the touch command to create three files. These files will be named as follows (you will substitute your last name instead of Ortiz. Do NOT use Ortiz as part of your file names (if your last name is Ortiz then use Ortiz2 as your last name ). This is just an example. My files would look like this: ProjectOrtiz42.txt ProjectOrtiz43.txt ProjectOrtiz44.txt After you have created the three files, use the ls command to show the files have been created. A screen shot is not required at this time. 3. From the textbook: Reference Ch 4 mkdir - Create a directory named CTS2321. At the command line type ls . You should see all three files and the directories you just created. If you do not, you did not complete the task correctly. No screen shot required. 4. From the textbook: Reference Ch 4 - You will move 2 of the files created previously (ProjectOrtiz42.txt and ProjectOrtiz43.txt) into the CTS2321 directory. After you have moved the files, type the ls command. You should only see the name of the CTS2321 directory and one file (Project44.txt) displaying. The other 2 files are "inside" the CTS2321 directory. No screen shot is required at this time. Hint:
Moving files was covered during the CTS2106 course as well. If you do not remember, how to move files, refer to Chapter 4 in our textbook. 5. From the textbook: Reference Ch 4 - You will delete the ProjectOrtiz44.txt file. After deleting this file, you should only see the name of the CTS2321 directory. No screen shot is required at this time. Hint: Moving and deleting files were covered during the CTS2106 course as well. 6. From the textbook: Reference Ch 1 - At the prompt type the command history. Do a screen shot of the output of your history command. Name the screen shot history1. I should be able to see that you used all the commands as assigned for steps 1-5 above. 7. From the textbook: Reference Chapter 4 - Follow the steps and execute the commands as they appear on Listing 4.40. Add your last name to OriginalFile.txt. Mine would read OrtizOriginalFile.txt. After you complete the command ls -og do a screen shot of your outcome. Name this screen softhardlink and submit it through this drop box. Answer the question: Why is there a linkcount of 2 for HardLinkfile.txt and Originalfile.txt but only one link count for NewFile.txt? Include your answer in the drop box. 8. From the textbook: Reference Ch 4 - Follow the steps and execute the commands as they appear on the first command line for Listing 4.59 find . -name "*.txt" After you complete the command do a screen shot of your outcome. Name this screen shot find and submit it through this drop box. 9. Read carefully! The following tasks will require you to create some files as instructed. You may use any text editor in Linux (nano, vi, vim). Using text editors was introduced during CTS2106 as well as Chapters 1 and 2 in our class textbook. If you do not remember how to create a file in Linux you may refer to this tutorial: https://www.oreilly.com/library/view/fedora-linux/0596526822/ch04s04.html 12. Create a vi file using the following words. You can write any paragraph you wish as long as it includes the following: Your last name Our class number (CTS2106) Any three of the following: Alpha, Tango, Bravo, Echo, Foxtrot You will name the vi file Project1 step 12 . 13. References: Chapters 1, 2 and 4 Create the following files: Project42.txt Project43.txt
Project44.txt Project45.txt Project46.txt Execute the 2 command lines as they appear in Listing 4.30 Then execute the 2 command lines as they appear in Listing 4.31 Do a screen shot of your last command line with its output. Name this screen shot: tar.gz 14.Reference Chapter 1 - you will need to create a file titled cake.txt that contains the following text (substitute {your name} for YOUR name. For example, the first like for me would say: Ortiz likes chocolate cake): {your name} likes chocolate cake Rich likes lemon cake. Tim only likes yellow cake. Samantha does not like cake. Complete the three command lines as they appear on Listing 1.66. Do a screen shot that includes the SECOND command line and its output ( sed ' s/cake/donuts/' cake.txt ). Name this screen shot sed. Submit the screen shot through this drop box. 16. Reference Chapter 1 - Run the history command . The output of your history command should display all the commands assigned for step 14 above. Do a screen shot of the output. Name this screenshot history2 . Submit the screen shot through this drop box. 17. Reference Chapter 5 . At the prompt type the command dmesg . Take the time and review the output. Do a screen shot of the output. Think how this information can be beneficial to a Linux Administrator. Name this screen shot dmesg. 18. Reference Chapter 3 -Listing 3.3. Log into your Linux terminal. Execute the command line as it appears in Listing 3.3. Do a screen shot of your output and include an explanation for the output in the drop box. What does the letter and number represent? Name this screen shot ioports. 19 - Reference Chapter 2 - Choose a package from the repository and install it using dnf (for Fedora). Submit a screen shot that shows the package was successfully installed. Name this screen shot install. Make sure you have completed all the required screen shots!!! Read Below! These are the screen shots you should have completed and uploaded through the Project 1 Drop Box:
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
History1 tar.gz dmesg so²hardlink sed IOPorts find history2 install