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

QUESTION 1 The text-based command line interpreter in Unix is known as: a.The Ke

ID: 3835256 • Letter: Q

Question

QUESTION 1

The text-based command line interpreter in Unix is known as:

a.The Kernel

The Shell

CMD

DOS

QUESTION 2

Match the name of the directory to the description

/etc

/usr/bin

/

/var

This directory holds data that is often changing, like database files, incoming user email, etc.

The directory that holds most of the system configuration files

The root, or top of the Unix directory tree. All directories are sub-directories of this.

The directory that holds most of the computer programs or applications

  

QUESTION 3

You have a directory named "CIS003" that has some files in it. You want to delete the directory and all the contents. What command would you type?

del -R CIS003/*

rmdir -all CIS003

rmdir CIS003

rm -r CIS003

QUESTION 4

What command would you type to view the amount of used and free space on the computer's disk drives?

fs

free

df

diskstat

QUESTION 5

On a debian-based system, which command would you type to install a package called bb?

sudo rpm -V bb

sudo yum -i bb

sudo install -d bb

sudo apt-get install bb

a.The Kernel

b.

The Shell

c.

CMD

d.

DOS

Explanation / Answer

1)Answer: b.The Shell

Unixshell:

A Unix shell is a command-line interpreter or shell that provides a traditional Unix-like command line user interface. Users direct the operation of the computer by entering commands as text for acommand line interpreter to execute, or by creating text scripts of one or more such command.

2)Answer:

/etc:B.The directory that holds most of the system configuration files

/usr/bin:D.The directory that holds most of the computer programs or applications

/:C.The root, or top of the Unix directory tree. All directories are sub-directories of this

/var:A.This directory holds data that is often changing, like database files, incoming user email, etc.

B

D

C

A

3)Answer:d.rm -r CIS003

Explanation:

rm -r mydir

In the example above, you would replace "mydir" with the name of the directory you want to delete. For example, if the directory was named "files", you would type rm -r files at the prompt.

4)Answer:c.df

Explanation:

df displays the amount of disk space available on the file system containing each file name argument. If no file name is given, the space available on all currently mounted file systems is shown. Disk space is shown in 1K blocks by default, unless the environment variable POSIXLY_CORRECT is set, in which case 512-byte blocksare used.

5)Answer:d.sudo apt-get install bb

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote