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

QUESTION 1 Is the relative path from your home directory to mine ../../faculty/f

ID: 3902514 • Letter: Q

Question

QUESTION 1

Is the relative path from your home directory to mine

../../faculty/fveglian

True

False

10 points   

QUESTION 2

The absolute path to any home directory begins with what character?

?

/

..

10 points   

QUESTION 3

Which rm command option will recursively remove a directory and all of it's contents?

-M

-a

-r or -R

-all

10 points   

QUESTION 4

Create a file in your home directory by executing the following:

touch file1

Now, execute:

cat ~fveglian/greeting > file1

The size of the file called file1 is 524 bytes.

True

False

10 points   

QUESTION 5

Which command will count the number of lines that contain the string 'root' in the file called ~fveglian/sample-group?

The number of lines is 10.

grep -n 'root' ~fveglian/sample-group

count -n 'root' ~fveglian/sample-group

grep -c 'root' ~fveglian/sample-group

ls -l 'root' ~fveglian/sample-group

10 points   

QUESTION 6

After logging into your Linux account, change directory to the /etc directory. Type the cd command and press the <enter> key, what directory do you end up in?

The cd command executed alone will always return you here.

The parent directory

Your current directory

Your home directory

The /tmp directory

10 points   

QUESTION 7

Which LINUX directory allows any user to create and save files? Don't plan to store files here permanently as they will be deleted when the system reboots.

/home

/TEMP

/tmp

/users

10 points   

QUESTION 8

After logging in to the LINUX server, execute the command cd ..

Which directory are you in after executing the above command?

/

/home

/users/students

/tmp

10 points   

QUESTION 9

By default, the ~ symbol is shorthand for which directory?

For example:  cd ~

The parent directory

The root directory

Your home directory

The /tmp directory

10 points   

QUESTION 10

Create a new mail message and send it to both yourself and me. Once you successfully receive the message, answer 'yes' below. My email address is:   fveglian@cyberserver.uml.edu

Note: I would prefer you send the message only to yourself until you are successful before you also send it to me. This will prevent me from receiving dozens of message while you are testing and experiencing the mail utility.

When sending your email message...
- Include the subject Greetings.  
- In your email message, enter the following line: Hello. This is my UNIX mail test message.

See the lecture called Sending Mail for help on doing this.

Did you send the email message to me?

Yes
No

10 points   

Click Save and Submit to save and submit. Click Save All Answers to save all answers.

?

/

..

Explanation / Answer

Solution:-

Part 1.) The answer is TRUE, as the relative path is ../../faculty/fveglian.

Part 2.) The absolute path to any home directory begins with what character :- "/".

Part 3.) rm command option will recursively remove a directory and all of it's contents :- -r or -R.

part 4.) Not answerable as I don't what what is "cat ~fveglian/greeting "

Part 5.) The grep command with the -c option will show the count number , so the correct option is:-

grep -c 'root' ~fveglian/sample-group.

The correct option is (c).

part 6.) The correct option is:- "The HOME directory." i.e (c)

part 7.) The /TEMP directory delets everything when we reboot our computer. The correct option is:- (b)]

part 8.) After loggin to the linux server, when we press "cd .." command, we'll go to the home directory.
Thus, the correct option is:- (b)

part 9.) The ~ symbol represents the Home Directory.

Thus, the correct option is:- (c)

Part 10.) This part has to be done by you.

===============SOLUTION ENDS=================

Note:- As, these questions are purely knowledge based, so i cannot be able to give explanations to em'.

Please upvote if it helped. Thanks!!

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