Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1. Which of the following operating systems are considered to be in the Unix fam

ID: 3827471 • Letter: 1

Question

1. Which of the following operating systems are considered to be in the Unix family? a) iOS (Apple iPhone, ITab) b) OSX (Apple Maintosh) c)Microsoft Windows d) Android e)Linux 2.You want to know what directories in your account hold C++ files. You can use the command... a)find b)ls c)cp 3.You want to rename a file. You can use the command... a)cp b)sed cren 4.You want to print the contents of a text file, but with selected changes made to some of the lines. You should use the command... a)grep b)type c)sed d)edit 5. You want to print selected lines of a file that match a pattern. You should use the command... a)linesel b)find c)sed d)grep 6 The "mark" in emacs is used to a show where the next character that yu type will be inserted b) delineate one end of a region c)remember where you stopped editing so that you can return to it in a later session d) add italics, bolding, or other formatting to a file 7.A text file has been transferred from a Windows system to a Unix system, leaving it with the wrong line termination. This mistake can be corrected by a deleting certain characters from the file b) adding certain characters to the file c)a combination of both adding and deleting characters d) This mistake cannot be fixed except by re-doing the transfer 8.A typical Unix text file is a limited to bytes that correspond to visible/printable

Explanation / Answer

I have tried answering more tha half of the answers.

1. a,b,d,e

Explanation : Most operating systems can be grouped into two different families. Aside from Microsoft’s Windows NT-based operating systems, nearly everything else traces its heritage back to Unix.

Linux, Mac OS X, Android, iOS, Chrome OS, Orbis OS used on the PlayStation 4, whatever firmware is running on your router — all of these operating systems are often called “Unix-like” operating systems.

2. a- find is correct answer

Explanation :
ls : gives list of all files in current directory.
cp : makes a copy of a file.
g++ : used to compile c++ program

3. mv is the command
mv is used to rename or move the file.

4. edit is the correct answer : edit FILENAME
  
edit makes a copy of the file FILENAME which you can then edit. It first tells you how many lines and characters are in the file.
If the file does not exist, edit tells you it is a [New File].
  
5. grep is the correct answer : The grep command allows you to search one file or multiple files for lines that contain a pattern

6. b is the answer : The mark specifies a position to bound a range of text for many commands

7. option C.

8. d correct answer.

9. An absolute path is defined as specifying the location of a file or directory from the root directory(/).
In other words we can say absolute path is a complete path from start of actual filesystem from / directory.
b is correct option.

10. Relative path is defined as path related to the present working directory(pwd).
f is correct option.
  
12. a,b,c are correct.

13. a,b,c are correct.

14. b and c

22. a- script correct answer
A file containing UNIX shell commands is known as a script (or shell script)

21. $PATH is an example of environment variable.