4 Replies - 1544 Views - Last Post: 24 July 2013 - 07:35 PM

#1 deprosun  Icon User is offline

  • D.I.C Regular

Reputation: 0
  • View blog
  • Posts: 292
  • Joined: 16-November 10

Cat browser history in the terminal?

Posted 06 July 2013 - 04:32 PM

I was just wondering if it's possible to cat browser history in the terminal as a log.txt
Is This A Good Question/Topic? 0
  • +

Replies To: Cat browser history in the terminal?

#2 numberwhun  Icon User is offline

  • D.I.C Head

Reputation: 23
  • View blog
  • Posts: 87
  • Joined: 28-March 08

Re: Cat browser history in the terminal?

Posted 23 July 2013 - 08:22 PM

Well, depending on your shell, we will assume bash (which is default on most systems), there is a file in your home directory called .bash_history. Your command history is stored in that file.

You can simply cat that file, if you wish, your search it.

Regards,

Jeff
Was This Post Helpful? 1
  • +
  • -

#3 deprosun  Icon User is offline

  • D.I.C Regular

Reputation: 0
  • View blog
  • Posts: 292
  • Joined: 16-November 10

Re: Cat browser history in the terminal?

Posted 24 July 2013 - 10:20 AM

View Postnumberwhun, on 23 July 2013 - 10:22 PM, said:

Well, depending on your shell, we will assume bash (which is default on most systems), there is a file in your home directory called .bash_history. Your command history is stored in that file.

You can simply cat that file, if you wish, your search it.

Regards,

Jeff


Oh wow! useful tip. But I was referring to web browser history.
Was This Post Helpful? 0
  • +
  • -

#4 snoj  Icon User is offline

  • Married Life
  • member icon

Reputation: 84
  • View blog
  • Posts: 3,564
  • Joined: 31-March 03

Re: Cat browser history in the terminal?

Posted 24 July 2013 - 12:30 PM

I would think you'd need to know what browser and where it's keeping the logs.

I believe Chrome uses SQLite or json for a lot of it's stuff...or at least it used to.
Was This Post Helpful? 1
  • +
  • -

#5 numberwhun  Icon User is offline

  • D.I.C Head

Reputation: 23
  • View blog
  • Posts: 87
  • Joined: 28-March 08

Re: Cat browser history in the terminal?

Posted 24 July 2013 - 07:35 PM

View Postdeprosun, on 24 July 2013 - 11:20 AM, said:

View Postnumberwhun, on 23 July 2013 - 10:22 PM, said:

Well, depending on your shell, we will assume bash (which is default on most systems), there is a file in your home directory called .bash_history. Your command history is stored in that file.

You can simply cat that file, if you wish, your search it.

Regards,

Jeff


Oh wow! useful tip. But I was referring to web browser history.


Wow! Glad I can read. :)

Nothing I have tried to do, but in this link, you can apparently (with Chrome) put the browser history to a file. Don't know if that helps any, but its all I have at the moment. :)
Was This Post Helpful? 1
  • +
  • -

Page 1 of 1