0
0
Linux CLIscripting~10 mins

mount and umount in Linux CLI - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to mount the device /dev/sdb1 to /mnt/usb.

Linux CLI
sudo [1] /dev/sdb1 /mnt/usb
Drag options to blanks, or click blank then click option'
Amount
Bumount
Cls
Dcd
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'umount' instead of 'mount' will try to detach the device.
Using 'ls' or 'cd' does not mount devices.
2fill in blank
medium

Complete the code to unmount the device mounted at /mnt/usb.

Linux CLI
sudo [1] /mnt/usb
Drag options to blanks, or click blank then click option'
Amount
Bls
Ccd
Dumount
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'mount' instead of 'umount' will try to attach the device again.
Using 'ls' or 'cd' does not unmount devices.
3fill in blank
hard

Fix the error in the command to mount /dev/sdc1 to /media/usb.

Linux CLI
sudo mount [1] /media/usb
Drag options to blanks, or click blank then click option'
A/media
B/dev/sdc1
C/media/usb
D/dev/sdc
Attempts:
3 left
💡 Hint
Common Mistakes
Using '/dev/sdc' mounts the whole disk, which may cause errors.
Using the mount point as device causes failure.
4fill in blank
hard

Fill both blanks to mount the device /dev/sdd1 with read-only option to /mnt/backup.

Linux CLI
sudo mount -o [1] [2] /mnt/backup
Drag options to blanks, or click blank then click option'
Aro
Brw
C/dev/sdd1
D/mnt/backup
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'rw' mounts read-write, not read-only.
Swapping device and mount point causes errors.
5fill in blank
hard

Fill all three blanks to unmount the device mounted at /media/usb and verify with a command.

Linux CLI
sudo [1] /media/usb && [2] && [3] /media/usb
Drag options to blanks, or click blank then click option'
Aumount
Bls
Cmount
Dcd
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'mount' instead of 'umount' to detach device.
Using 'cd' instead of 'ls' to check directory.