Hands-on task
Look inside the database
You've been handed an online cookware shop. All its data lives in an SQLite database — a single file, /root/shop.db.
Open the database and look around: which tables it has and which columns the products table has. Find the column that stores a product's price and write its name to /root/answer.txt with a command like this: echo name > /root/answer.txt — put what you found in place of name.
- sqlite3
- .tables
- .schema
- tables and columns