Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Where does the Linux command line web browser links store its cookies? I'm writing a program that waits for a cookie from one of my websites to be saved before continuing with its execution. I believe all cookies are deleted when the browser is closed, but my program should still have time to find it (polling continuously) before the user exits. I just need to know where to look.

share|improve this question
up vote 0 down vote accepted

At least in this edition of links (the source for the links and links2 packages on Debian), links doesn't actually save the cookies anywhere persistent – it simply keeps them in a RAM-backed data structure.

For what it's worth, though, elinks stores cookies on disk – specifically, in ~/.elinks/cookies.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.