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

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

cockpit-ws Command Examples in Linux

by admin

The cockpit-ws command is a utility in Linux that is used to start the Cockpit web service, which is a web-based interface for managing and monitoring your system. Cockpit is a free, open-source system management tool that provides an easy-to-use interface for managing and monitoring your system.

To start the Cockpit web service and listen on the default port (9090), use the following command:

# cockpit-ws

This will start the Cockpit web service and listen on the default port (9090).

To start the Cockpit web service and listen on a specific port, use the –port option followed by the desired port number:

# cockpit-ws --port 8080

This will start the Cockpit web service and listen on port 8080.

cockpit-ws Command Examples

1. Start with authentication via SSH at 127.0.0.1 with port 22 enabled:

# cockpit-ws --local-ssh

2. Start an HTTP server on a specific port:

# cockpit-ws --port [port]

3. Start and bind to a specific IP address (defaults to 0.0.0.0):

# cockpit-ws --address [ip_address]

4. Start without TLS:

# cockpit-ws --no-tls

5. Display help:

# cockpit-ws --help

6. To start the Cockpit web service and listen on a specific interface, use the –listen option followed by the desired interface:

# cockpit-ws --listen eth0

Filed Under: Linux

Some more articles you might also be interested in …

  1. mcookie: command not found
  2. debchange Command Examples in Linux
  3. How to Add a 3rd Disk to Create a 3-way Mirror RAID1 MD Device (CentOS/RHEL 7)
  4. imagemagick for image optimization
  5. ascii Command Examples in Linux
  6. How to monitor your CPU on debian or ubuntu systems
  7. kscreen-console: command not found
  8. useradd: command not found
  9. deluser Command Examples in Linux
  10. Unable to Start RDMA Services on CentOS/RHEL 7

You May Also Like

Primary Sidebar

Recent Posts

  • powertop Command Examples in Linux
  • powertop: command not found
  • powerstat: command not found
  • powerstat Command Examples in Linux

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright