Question: Outcome: Unix and your first program 1) The command 1s -1 produces an output. For example: -rw-r--r--1 cg cg 82 Jan 25 09:17 main.c Explain

 Outcome: Unix and your first program 1) The command 1s -1

Outcome: Unix and your first program 1) The command 1s -1 produces an output. For example: -rw-r--r--1 cg cg 82 Jan 25 09:17 main.c Explain what each part of the output in the line means? 2) Briefly explain the use of the chmod command and how it can be used. Create a directory in your home directory called myDi; that allows only you to read, write, and execute. No permissions are given to anyone else. 3) Briefly discuss both how and why you would redirect standard input at a UNIX command prompt. 4) Every UNIX and Linux system contains full documentation of UNIX commands. Where is this documentation found? What is the syntax used in order to retrieve the information in the manual and display it as text output on your screen? 5) Briefly explain the importance of directories in a UNIX system and how to create them 6) While executing your .c program, your program has faced an infinite loop and is "frozen". How would you force the program to stop without closing the terminal? Write two different ways to terminate the program

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!