• 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. CentOS / RHEL : How to restore/recover a deleted volume group in LVM
  2. How to uninstall nodejs software package in Ubuntu
  3. gem: Interact with the package manager for the Ruby programming language
  4. cmctl: A CLI tool that can help you to manage cert-manager resources inside your cluster
  5. “az bicep” Command Examples (Bicep CLI command group)
  6. Nginx load balancing
  7. fly: Command-line tool for concourse-ci
  8. pam_tally2 command – lock & unlock ssh failed logins in linux
  9. How to use shell aliases in Linux
  10. konsole: command not found

You May Also Like

Primary Sidebar

Recent Posts

  • gml2gv Command Examples
  • glow Command Examples
  • glib-compile-resources Command Examples
  • glances Command Examples

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright