Question: Which command would delete all files in your current directory that start with the letter b? Question 11 options: rm b* rm -r b? rm

Which command would delete all files in your current directory that start with the letter b?

Question 11 options:

rm b*

rm -r b?

rm -all b

delete b?

Question 12 (Mandatory) (5 points)

You have a file named "thesis.txt" and you want to make a copy of it before doing some heavy editing. What command would you type to create a copy named "thesis-backup.txt"?

Question 12 options:

copy thesis.txt thesis-backup.txt

mv thesis.txt thesis-backup.txt

cp thesis.txt thesis-backup.txt

cp thesis-backup.txt thesis.txt

Question 13 (Mandatory) (5 points)

You want to create a directory to store all your homework files. What command would you type to create a directory named "homework"?

Question 13 options:

mkdir homework

mkdir homework

crd homework

cd homework

Question 14 (Mandatory) (5 points)

Which command would you type to rename a file named "homework.txt" to "homework01.txt"?

Question 14 options:

ren homework.txt homework01.txt

homework.txt mv homework01.txt

rn homework.txt homework01.txt

mv homework.txt homework01.txt

Question 15 (Mandatory) (5 points)

Which command would you type to delete a file named "old-story.txt"?

Question 15 options:

delete old-story.txt

dl old-story.txt

ln old-story.txt

rm old-story.txt

Question 16 (Mandatory) (5 points)

When deleting a file, what does adding the -i option do?

Question 16 options:

Makes the command include invisible (hidden) files

Makes the command put deleted files in the trash bin (so they can be undeleted later)

Makes the command interactive (asks you if you are sure)

Makes the command include subdirectories (recursive)

Question 17 (Mandatory) (5 points)

Commands in a Unix system can be many things. Which of the following are types of Unix commands (might be more than one)?

Question 17 options:

A command built into the shell itself

A shell function

An alias

An executable program, which might be either a compiled binary or a program written in a scripting language.

Question 18 (Mandatory) (5 points)

There might be more than one version of a program on a Unix system, and you might not know which one is executed when you type the name of the command. What would you type to identify the exact location of a program named "lsof"?

Question 18 options:

uniq lsof

id lsof

which lsof

where lsof

Question 19 (Mandatory) (5 points)

The "ls" program has many features or options. What command would you type to view the manual or documentation for the "ls" command?

Question 19 options:

doc ls

ls manual

ls info

man ls

Question 20 (Mandatory) (5 points)

Which command would you type to display all the command aliases that are currently defined for your Unix environment?

Question 20 options:

show aliases

alias -display

env aliases

alias

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!