Taking screenshots from the command line
The scrot command is used to get screenshots from the command line. This utility comes with various options that offer what almost any regular screenshot app does. This is handy when you want to take screenshots on the fly.
For importing or restoring the database, use the command given below: