🐧Linux Server 1: Chapter 3 QUIZ

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

When issuing the ls -F command, what special character indicates a linked file?

@

At the vi command mode prompt, what key combination will force a quit from the vi editor without saving changes?

:q!

When using the vi text editor, which of the following keys, when in command mode, will change to insert mode and place the cursor at the end of the current line?

A

When using the vi text editor, which of the following keys, when in command mode, will move to the last line in the document?

G

If enough unique letters of a directory name have been typed, what key can be pressed to activate the BASH shell's completion feature?

Tab

In order to move from the /home/joe/test/data to the /home/joe directory, what command should be issued?

cd ../..

W hich of the following key combinations, commonly used in the vi editor command mode, displays current line statistics?

ctrl + g

Kate wants to compare two text files to identify what might have been changed from one version to another. Which of the following commands can she use to do this?

diff document1.txt document2.txt

Garrett wants to search through a csv file to find all rows that have either the name John or Bob in them and display them out to the terminal. Which of the following commands could Garrett use to perform this search?

grep -E "(John|Bob)" salesemployees.csv

What command can be issued to confirm which directory you are in at a command line prompt?

pwd

S elect the command that can be used to provide a long listing for each file in a directory:

ls -l

Mike has changed directory into one subdirectory after the next and has lost track of where he's at in the directory tree. Which of the following commands can he use to tell him the full path to the current subdirectory he is in?

pwd

What command can be used to display the last five lines of a text file?

tail -5


Set pelajaran terkait

[Science]: Electricity & Magnetism: Electric Charge and Static Electricity (Student Teacher's Notes)

View Set

Biology Midterm III PRS Clicker Questions

View Set

A. Life Insurance Policy Riders -Long-Term Care Rider-

View Set

Alteration in Neurological Adaptation

View Set

ch 13, Chapter 11, Marketing 351 Ole Miss Cousley Chapters 13 (Shuffle to avoid repeating of the same topics), chp 6 mktg, chp 6 mktg, Marketing Ch.6, Marketing Chapter 8, MKTG test 2 ch 6, MKTG ch 3, Marketing 351 Chapter 1, Marketing, MKTG Chapter...

View Set

Toxicology Chapter 14 (Principles of food toxicology)

View Set