Bash Quiz — Flashcards | Unix Programming | FatSkills

Bash Quiz — Flashcards

Fast review mode: answers are shown by default so you can skim quickly. Hide them if you want to self-test.

MCQs For LinkedIn Skill Assessments. Bash is a Unix shell and command language.

1 of 70 Ready
Which of the three methods will copy the directory named 'photo dir' recursively from the user's home directory to /backups?
'''bash
cp -R '~/photo dir' /backups #method1
cp -R ~'/photo dir' /backups #method2
cp -R ~/'photo dir' /backups #method3
Only method 3 will expand ''~/'' to the user's home directory and then append the quoted directory name that includes a space.
Shortcuts
Prev Space Show / hide Next
Turn this into a study set.
Sign in with Google to save tricky questions to your reminder list and resume on any device.
Sign in with Google Free • no extra password