• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • VCS
  • Interview Questions
  • Database
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

links Command Examples in Linux

by Deepika

links is a command-line web browser that allows users to browse the internet and view web pages directly from the terminal. It provides a text-based interface for browsing the web and supports basic web browsing functionality such as following links, displaying images, and filling out forms.

links is particularly useful for users who prefer a minimalist and lightweight approach to web browsing or who are working on a system with limited resources. It can also be useful for accessing the web in environments where a graphical user interface (GUI) is not available, such as in a terminal window or on a server.

links Command Examples

1. Visit a website:

# links https://example.com

2. Apply restrictions for anonymous account:

# links -anonymous https://example.com

3. Enable Cookies (`1` to enable):

# links -enable-cookies 0|1 https://example.com

4. Navigate forwards and backwards through the links on a page:

Up arrow key, Down arrow key

5. Go forwards and backwards one page:

Left arrow key, Right arrow key

6. Exit:

q then y

Filed Under: Linux

Some more articles you might also be interested in …

  1. foreman Command Examples in Linux
  2. lvm: command not found
  3. ac: command not found
  4. Sample /etc/services file in Linux
  5. argon2: Calculate Argon2 cryptographic hashes (Command Examples)
  6. Linux OS Service ‘cups’
  7. srun: command not found
  8. json5 Command Examples
  9. xrpd: command not found
  10. deno: A secure runtime for JavaScript and TypeScript

You May Also Like

Primary Sidebar

Recent Posts

  • Vanilla OS 2 Released: A New Era for Linux Enthusiasts
  • mk Command Examples
  • mixxx Command Examples
  • mix Command Examples

© 2025 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright