Skip to main content

Query This Berkeley DB on Linux

Hands-On Lab

 

Photo of

Training Architect

Length

00:10:00

Difficulty

Beginner

You are working as a system administrator and have been tasked with querying an existing Berkeley DB using Python.

The database file can be downloaded from the following URL:
https://github.com/linuxacademy/content-intro-to-databases-on-linux/raw/master/demo.db

You are to open the file as read-only, to ensure no data is changed, and print the value associated with the key 2.

What are Hands-On Labs?

Hands-On Labs are scenario-based learning environments where learners can practice without consequences. Don't compromise a system or waste money on expensive downloads. Practice real-world skills without the real-world risk, no assembly required.