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

QUESTION 1 What is the purpose of /dev/null ? This is an empty file used as the

ID: 3830793 • Letter: Q

Question

QUESTION 1

What is the purpose of /dev/null ?

This is an empty file used as the filesystem template for new files

This is a device file that maps to the zero key on the keyboard

This is a special directory used for source code development files

This file is a system device called a bit bucket which accepts input and does nothing with it.

QUESTION 2

You prefer to always see hidden files when you type "ls". What would you type to create an alias so that when you type "ls", it behaves as if you had typed "ls -a" ?

ls -a alias persist

alias ls -a

alias ls='ls -a'

alias ls='-a'

QUESTION 3

Which word below is matched by this search?

grep '^b.d$'

abled

ipad

bad

bread

  

QUESTION 4

Who developed and released the first Linux kernel?

Richard Stallman

Bill Gates

Linus Torvalds

Bill Joy

QUESTION 5

Traditional Unix permissions can be assigned to which three categories of users?

a.r - The root user

u - Regular users

x - Exclude everyone

b.o - The owner of the file

p - The public

n - Nobody

c. s - The system administrator

r - Regular users

w - The world, or everyone

d. u - The user that owns the file

g - A specific group of users

o - Other users, or everyone.

a.

This is an empty file used as the filesystem template for new files

b.

This is a device file that maps to the zero key on the keyboard

c,

This is a special directory used for source code development files

d.

This file is a system device called a bit bucket which accepts input and does nothing with it.

Explanation / Answer

Answer in bold

QUESTION 1

What is the purpose of /dev/null ?

This file is a system device called a bit bucket which accepts input and does nothing with it.

QUESTION 2

You prefer to always see hidden files when you type "ls". What would you type to create an alias so that when you type "ls", it behaves as if you had typed "ls -a" ?

alias ls='ls -a'

QUESTION 3

Which word below is matched by this search?

grep '^b.d$'

c) bad

QUESTION 4

Who developed and released the first Linux kernel?

c) Linus Torvalds

QUESTION 5

Traditional Unix permissions can be assigned to which three categories of users?

d. u - The user that owns the file

g - A specific group of users

o - Other users, or everyone.

c.

alias ls='ls -a'

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