Unix® and Linux® Comparison Matrix - 5 Marks
1. Name three versions of Unix
1. AT&T (System V Release) Versions
2. BSD (Berkeley Software Distribution) from the University of California at Berkeley
3. XENIX from Microsoft
2. Name three versions of Linux
1. Canonicals’ Ubuntu
2. Novell’s openSUSE
3.Red Hat’s Fedora
3. Describe 3 major differences between Unix and Linux
1. The difference between UNIX and Linux is that UNIX trademark is specific to systems that meet a complex set of X/Open standards and has a cost whereas Linux is open source
2. The original UNIX system was written in PDP-7 assembly language and the subsequent version was written in a language called B, which was developed by Thompson in 1970. …show more content…
3. Linux is a clone of the UNIX operating system, and Linux system can be distributed, used, and expanded free of charge
4. Unix is primarily a command line oriented operating system
4. Which of the following is not a UNIX or Linux variant
a. SunOS
b. RedHat
c. DOS and MS-DOS
d. HP-UX
e. Debian
5. Use the command to change directory locations.
a. cd
b. rm
c. mkdir
d. cut
6. Use the command to delete a directory.
a. delete_dir
b. mkdir
c. rmdir
d. cat
7. Which of the following are text editors? (Choose all that apply.)
a. vi or Pico
b. emacs
c. ls
d. cat
8. The command creates a directory named winchester in the root directory.
a. mkdir /winchester
b. mkdir ../Winchester
c. mkdir \winchester
d. md /Winchester
9. The command allows you to change directory locations to a child directory named child1.
a. mkdir ƒ child1
b. cdƒ ../ child1
c. cd child1
d. cdƒ /
10. The command that deletes a file.
a.
rmdir
b. cd
c. rm - To delete a file using rm enter the following at a shell prompt (rm ../../filename) –This is for Linux
d. pwd
11. The command displays your present working directory.
a. cat
b. cd
c. touch
d. pwd- UNIX operating system
12. The system directory contains the Linux kernel.
a. /boot - This is where the Linux kernel and boot loader files are kept. The kernel is a file called vmlinuz.
b. /root
c. /dev
d. /var
13. The in the vi editor allows you to save and quit the program.
a. :wq- To quit and save edits (basically the same as ZZ).
b. q!
c. w!
d. !
14. The command to rename a file is .
a. mv The use of the mv command changes the name of the file from oldname to newname.
b. cp
c. del
d. rename
15. The command to make a duplicate of a file.
a. mv
b. cp- different between Linux cp command and Linux mv command is, the cp command duplicate the source file and move it to a new location while the mv command move the source (original) file.
c. del
d. rename
16. In vi, the command to change to insert mode is:
a. o
b. O
c. i
d. d
17. In vi, the command to remove a character is:
a. o
b. O
c. i d. x- deletes the character under the
cursor.