Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.