Lynx
From Global Shellz Wiki
Lynx browser
Lynx is a text-mode web browser that you can run in your shell session. Below is a basic usage guide for Lynx.
Note: Commands as given on this wiki page are case sensitive. The caret (^) is short-hand for Ctrl+...
Contents |
Invoking
- lynx [options] url
- An option I find useful is -accept_all_cookies
Exiting
- q quits your browsing session, asking for confirmation first. If you want to quit right away, Q or ^D will do the trick.
Browsing
- g opens you a new url (you can just type a period (.) to open local files)
- Enter or Right Arrow selects links, while Left Arrow returns you to the previously visited url.
- ^r reloads the current page.
- = gives information about current page.
- V lets you view your browsing history so far
- The Up and Down arrows, as well as Tab and Shift+Tab, respectively, will navigate through the links on a page.
- Home and End keys work as usual, while ^a and ^e achieve same result
- PgUp and PgDown work in the normal way, while Space and Shift+Space do the same thing.
- ^n and ^p are for scrolling down/up two lines on current page, ) and ( for scrolling up/down half a screen-full.
- Note: Redirection is not automatic, you have to select the link manually
- Forms: You must use Tab to move off a text entry form. The standard shell editor commands apply when you are in such a field, such as ^u for clearing everything to the left of the cursor.
Finding text on a page
- / performs a search, after which n and Shift+n finds the next or previous matches
Bookmarks
- a lets you bookmark the current page through the d option, or the currently highligted url through the l option
- v lists your saved bookmarks