• 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 not found

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.

If you encounter the below error while running the command links:

links: command not found

you may try installing the below package as per your choice of distribution:

Distribution Command
Debian apt-get install links
Ubuntu apt-get install links
Alpine apk add links
Arch Linux pacman -S links
Kali Linux apt-get install links
CentOS yum install links
Fedora dnf install links
OS X brew install links
Raspbian apt-get install links

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. gpasswd: command not found
  2. gdebi Command Examples in Linux
  3. slop Command Examples in Linux
  4. doxygen: A documentation system for various programming languages
  5. quota Command Examples in Linux
  6. archivemount Command in Linux
  7. mailstat Command Examples in Linux
  8. CentOS / RHEL : How to rotate /var/log/wtmp and /var/log/btmp file using logrotate
  9. ndctl Command Examples in Linux
  10. gmssl Command Examples

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