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

Which of the following is NOT a legitimate Linux command? Question 1 options: rm

ID: 3556433 • Letter: W

Question

Which of the following is NOT a legitimate Linux command?

Question 1 options:

rmdir

Linux is ...?

Question 2 options:

I'm in my home directory and I want to create a new set of subdirectdories ~/foo/bar/baz. Which single command would work?

Question 3 options:

I want to move the file 'file.txt' to its parent directory. I would use ...

Question 4 options:

ssh uses what type of encryption?

Question 5 options:

public/private key

SSH doesn't exist!

symmetric

elliptical curve

The command to remove a directory is ...

Question 6 options:

remove <directory name>

I entered the command "ls -al" and hit enter. Now I would like to repeat the command. Which of these command would duplicate that command?

Question 7 options:

I want to see the last 10 commands I typed. What command would do this?

Question 8 options:

head 10 > history

history | tail -n 10

Which directory in Linux contains a file for all processes running on your system?

Question 9 options:

You do an ls and see the following:

         myhome -> /home/melanie

What does this mean?

Question 10 options:

means /home/melanie is an alias to 'myhome'

The directories /sbin and /usr/sbin ...

(select the best answer)

Question 11 options:

Contains mail files

DO NOT EXIST! TRICK QUESTION!

Contain executables that only someone running as superuser can execute

Contain configuration files only

In Linux, everything is represented as a(n) ...

Question 12 options:

The command pwd ...

Question 13 options:

Prints the present working directory

Resets ROOT's password

~/.foo   (select the best answer).

Question 14 options:

Is a directory under the root directory (/)

The root folder is ...

Question 15 options:

~

The command "cd ~" ...

Question 16 options:

The command "find"...

Question 17 options:

Does not exist in Linux

Is used to find files matching a specific criteria, such as name, file size, file type, etc.

The typing '!23' and then hitting enter will do what?

Question 18 options:

In order to run an executable from any location (directory) on your system... (select best answer)

Question 19 options:

I'm trying to think of the correct switches for a command, as a real Linux user you should:

Question 20 options:

The 'who' command .... (select the best answer)

Question 21 options:

Must be run with 'sudo'

The operator '|' ... (select the best answer)

Question 22 options:

Is used to separate root based utilities

Must be run with sudo to work

Running a desktop environment (e.g., Gnome or Kubuntu) in Linux requires

Question 23 options:

A newer kernel

The operator '>' (select the best answer)

Question 24 options:

Is used only with the bash history file

Considering the command:

echo "hello world" >> file.txt.

The >> means ... (select the best answer)

Question 25 options:

Means "REALLY greater than"

Add the words 'hello world' to a new file named 'file.txt'.

1) CP 2) rm 3) ls 4)

rmdir

Explanation / Answer

Q1) 1

CP is is Capitals. should be in smalls

Q2) 4

by elemination - not nt4/bsd/server

Q3) 2

makes directory with parents -p

Q4) 2

.. is the parent directory and format is mv <filename> <destination>

Q5) 1
Any google will show you for example - http://www.ece.uci.edu/~chou/ssh-key.html

Q6) 1

if its an empty directory

if its non empty use rm -rf <name>

Q7) 4

Q8) 3

tail gives last elements

Q9) 1

Q10) 2

Q11) 3
bin usually contain executables

Q12) 1

Q13) 1

Q14) 1

the dot means hidden

Q15) 1

/root isnt there

Q16) 4

Q17) 3

Q18) 1

Q19) 2

Q 20) 2

Q21) 4

Q22) 2

Q23) 2

Q24) 2

Q25) 4

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