RH124 Chapter 03 Quiz

Ace your homework & exams now with Quizwiz!

Which pattern will match only filenames beginning with "b"?

b*

Which command will always return you to the working directory used prior to the current working directory?

cd -

Which pattern will match only filenames that contain a number?

*[[:digit:]]*

Which pattern will match only filenames ending with "b"?

*b

Which pattern will match all filenames containing a "b"?

*b*

Which directory is the top of the system's file system hierarchy?

/

Which directory contains persistent, system-specific configuration data?

/etc

Which directory contains user home directories?

/home

Which directory is the administrative superuser's home directory?

/root

Which directory contains non-persistent process runtime data?

/run

Which directory contains temporary files?

/tmp

Which directory contains installed software programs and libraries?

/usr

Which directory contains regular commands and utilities?

/usr/bin

Which directory contains dynamic data, such as for databases and websites?

/var

Which pattern will match only filenames at least three characters in length?

???*

Which pattern will match only filenames where the first character is not "b"?

[!b]*

Which pattern will match only filenames that begin with an uppercase letter?

[[:upper:]]*

Which command is used to return to the current user's home directory, assuming the current working directory is /tmp and their home directory is /home/user?

cd

Which command will always change the working directory to the parent of the current location?

cd ..

Which command will always change the working directory up two levels from the current location?

cd ../..

Which command will change the working directory to /tmp if the current working directory is /home/student?

cd ../../tmp

Which command will always change the working directory to /bin?

cd /bin

Which command lists files in the current location, using a long format, and including hidden files?

ls -al

Which command displays the absolute path name of the current location?

pwd


Related study sets

Chapter 19: Life's Origin and Early Evolution (Review)

View Set

Standards for Nurse Anesthesia Practice

View Set

AWS Certified Solutions Architect - Associate Practice Questions

View Set

practice test for personal finance

View Set

Intro to African American Society Exam 1

View Set

Impressionism/ Post Impressionism

View Set

Chapter 6: Consumer Purchasing Strategies & Wise Buying of Motor Vehicles

View Set

preoperative care practice questions

View Set