ASSIGNMENT ID
120165
SUBJECT AREA Computer Science
DOCUMENT TYPE Code
CREATED ON 6th March 2017
COMPLETED ON 9th March 2017
PRICE
$30
14 OFFERS RECEIVED.
Expert hired: Bily james

Unix

Answer the questions below briefly and in your own words. Make sure you answer every part of the question. If you don’t answer a part of the question, you will automatically lose all the points for that question even if the part you answered is correct. 1. Login to any of the computer science lab computers. Watch carefully after you login. What version of Ubuntu is running on the machine? Tell me about Ubuntu. What is Ubuntu? 2. What is a directory and how is it different from a regular file? 3. What two files are by default created by the directory and why? 4. How is the Unix File System organized and how does one move in and out of directories? 5. What are hidden files and give an example of a type of file that the system would hide from the user? Part 2 (30 points) Download the file Assignment1.txt from blackboard. You must provide screenshots for every single step. In the screenshot, I should be able to see the command you entered and the result you got. Steps 1, 2, & 3 should all be in one screenshot 1. Show me what is inside the file Assignment1.txt using your terminal. 2. Write a single command (one line), in which a. You first find all the lines with 36 in them in the file b. Then from the output of a, you take the third column of numbers (every 3rd number on a line) and search it for all lines with 36 c. You take the output of b and put it into a file called ​yourname.txt (HINT: grep, awk, pipe) 3. Now use a command to print on the screen the number of lines in the file you outputted to in 2c. 4. Write a 1-2 line description for each part of the command in step 2 and step 3. Tell what each part does. 5. Create a command single command, in which a. You first find all the lines with 70 in them in the file b. Then from the output of a, you take the fourth column of numbers (every 4rd number on a line) and sort them in reverse order (from highest to lowest). c. You take the output of b and put it in a file called yourname1.txt. (HINT: grep, awk, pipe, sort) 6. Write a 1-2 line description for each part of the command in step 5. Tell what each part does. 7. Display any of the ​middle​ 10 lines of yourname1.txt on the screen. ​(HINT: head, tail, pipe) 8. Show me the permissions for yourname1.txt and briefly explain what they show. So, simply state, who has what type of access to the file yourname1.txt. Also, specify the file size. 9. Type in chmod 354 yourname1.txt and tell me what this command does to your file Permissions. What would be the other way to change the permissions to the ones you get after doing chmod 354? Which commands would you use to achieve this using the alternative method? (HINT: u+x -> that format is an alternative way to change permissions) 10. Show me your default file permissions. There is a command for that, we discussed it in class. 11. Using the less command, skip to line 21 in the file Assignment1.txt. 12. What is the mount point of Assignment1.txt? Prove it with the pwd command. What does mount point and mounting a file mean? 13. Show the files mounted on the system. We went over the command for that in class. 14. Write your opinion about this lab and put it in a file called myopinion.txt. The only command you can use to do this is the cat command and the output redirection symbol. Write to a file using the cat command. (Please don’t forget to screenshot) 15. Show me what it says inside myopinion.txt Bonus (+3) Describe what is meant by being able to read a directory, write to a directory and execute a directory. How is that different from being able to read a file, write to a file and execute a file.
This project has already been completed on Studybay
On Studybay you can order your academic assignment from one of our 45000 project experts. Hire your expert directly, without overpaying for agencies and affiliates!
Check the price for your project

See other similar orders

Studybay assignment progress timeline

Studybay is a freelance platform where you can order a Unix paper, written from scratch by professors and tutors.
06 March 2017
User created a project for Computer Science
06 March 2017
14 experts responded
06 March 2017
User contacted expert Bily james
06 March 2017
User hired expert Bily james who offered a price of $30 for the project and has experience doing similar projects
09 March 2017
The expert completed the project Unix for 2 days, meeting the deadline
09 March 2017
User accepted the project right away and completed the payment
09 March 2017
User left a positive review

Other projects in this subject area

Random blog posts

What the molar mass of cl is all about
Many students agree that studying chemistry can be quite a stressful and overwhelming task, but there is no magic formula to learn this subject, so you can only develop an efficient strategy to achieve your academic success. The good news is that there are certain simple steps that will show you the right direction, regardless of whether you are a college or high school student. Basically, it’s all about practicing, memorizing, and doing everything on time. You need to know how to write different lab reports and learn the periodical table in addition to studying different chemistry types. Be prepared to learn the matter, its components, properties, and methods in which they interact, join, and changes while forming new substances. For example, if you need to know everything about the molar mass of Cl, start with its correct calculation and relevant terms.