I need to create a bash script that checks the Epiphany's browser history and if the last URL visited is 192.168.8.1 then redirect to another URL. So, the Epiphany's browser history is shown in the following file:
It's a database file.
How can I check the ephy-history.db file from a bash script?
This should the query to check the last URL (title) visited:
select title from urls where last_visit_time in (select max(last_visit_time) from urls);