CIT 352 - Week 3 Quiz

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

True

A directory is a type of file. True False

cd ../..

A user typed in the command pwd and saw the output: /home/jim/sales/pending. How could that user navigate to the /home/jim directory? cd .. cd /jim cd ../.. cd ./.

It is an executable file.

After typing the ls -F command, you notice a filename that ends with an * (asterisk) character. What does this mean? It is a hidden file. It is a linked file. It is a special device file. It is an executable file.

Home directory ~ Current directory . Parent directory .. The root directory /

Find a match (for a name) Home directory Current directory Parent directory The root directory / ~ . ..

Press the Esc key.

How can a user switch from insert mode to command mode when using the vi editor? Press the Ctrl+Alt+Del keys simultaneously. Press the Del key. Type a : character. Press the Esc key.

../../bin Download

Identify the relative path names. (Select two) ../../bin /bin Download /root

resume

If "resume" is the name of a file in the home directory off the root of the filesystem and your present working directory is home, what is the relative name for the file named resume? /home/resume /resume resume \home\resume

False

The more command supports the use of arrow keys to navigate while less command does not. True False

ls tty6*

What command was given for the following output? [root@localhost dev]# __________ tty6 tty60 tty61 tty62 tty63 ls tty6? ls tty6* ls tty6[0-3] ls tty6[0123]

filea, fileb, filec

What will the following wildcard regular expression return: file[a-c]? filea-c filea, filec filea, fileb, filec fileabc

dog

Which command is NOT used to display the content of a text file? cat dog head tail

strings

Which command searches for and displays any text contents of a binary file? text strings od less

cd ../../usr/share cd /usr/share

Which command was entered at ____________________? (Select two) [user1@localhost gdm]$ pwd /etc/gdm [user1@localhost gdm]$ ____________________ [user1@localhost share]$ pwd /usr/share cd ../../root/usr/share cd ../../usr/share cd ../usr/share cd /usr/share

pwd

Which command would a user type on the command line to find out the current directory in the directory tree? pd cd where pwd

I went to

Which line will be displayed with the following command? $ grep "^I" file1 I went to How I wished Jack and I 208-496-1100

/home/resume

Which of the following is an absolute pathname in Linux? Home/resume C:\myfolder\resume resume /home/resume C:home/resume

Python

Which one is NOT a popular text editor on Linux? vi Emacs Python nano

Matches 1 character

Which statement is true for the wildcard metacharacter '?' ? Matches 0 or more characters Matches 0 or 1 character Matches 1 or more characters Matches 1 character

displays the contents of a file in reverse order last line first and first

The tac command _________. is not a valid Linux command. displays the contents of hidden files. displays the contents of a file in reverse order last word on the line first and first word on the line last. displays the contents of a file in reverse order last line first and first line last.

Interpreted by text tool programs such as grep Finds matches within text files

Which statement describes the regular expressions? (Select two) Interpreted by the shell Interpreted by text tool programs such as grep Finds matches within text files Finds matches in filenames


Set pelajaran terkait

Chapter 6: Law of Agency and Real Estate Brokerage

View Set

Network Troubleshooting and Tools QUIZ

View Set

Unit Five - Mental Health and Community Issues

View Set

Methods of Data collection Ch. 9 & 10

View Set

CHAPTER 11: Pesticide Application Procedures: Review

View Set

Chronic II- transitions/coordination of care

View Set