Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. f a hard link is created to a file and then the original file is deleted, which of the following is true? a. Both

1.

f a hard link is created to a file and then the original file is deleted, which of the following is true?

a.

Both the original file and the hard link are removed.

b.

The original file will be removed while the hard link remains, though the content will not be accessible.

c.

An error message will be displayed preventing the deletion of the original file.

d.

The original file will be removed while the hard link remains usable to access the contents of the file.

2.

Which of the following commands can be used to recursively search through the directory tree in search of a file that meets a set of given criteria instead of using an indexed database?

a.

find

b.

mlocate

c.

where

d.

locate

3.

Nicholas wants to verify whether a file is a hard link to a file within the same directory. Which of the following commands could he use to see information that would be helpful to make this determination?

a.

ls -al

b.

ls -i

c.

ls -s

d.

ls -l

4.

What would be the result of running the command chown :root file1.txt

a.

This would set the owner and group ownership of file1 to root.

b.

This would set the group ownership of file1 to root.

c.

This would keep the current ownership of the file, and add root as a second owner of the file.

d.

This would set the owner of file1.txt to root.

5.

Which of the following commands will display all files and directories within the /var/log directory or its subdirectories which are owned by the root user? (Choose two.)

a.

find /var/log -user root

b.

find -uid root -print /var/log

c.

find -user root -print /var/log

d.

find -path /var/log -user root

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

What is the relation of physical mathematics with examples?

Answered: 1 week ago

Question

What are oxidation and reduction reactions? Explain with examples

Answered: 1 week ago

Question

friendliness and sincerity;

Answered: 1 week ago