Skip to main content

Command documentation sourced from the linux-command project This comprehensive command reference is part of the linux-command documentation project.

w - Show who is logged on and what they are doing

Overview

The w command show who is logged on and what they are doing.

Syntax

w [OPTIONS] [ARGUMENTS]

Basic Usage Examples

# Basic usage
w

# Get help
w --help

# Check version
w --version

Common Options

  • -h, --help - Display help information
  • -v, --version - Show version information
  • -V, --verbose - Enable verbose output (if supported)

Description

The w command is part of the system-info category in Linux systems. It provides essential functionality for show who is logged on and what they are doing.

Refer to the manual page (man w) for detailed information about all available options and usage patterns.

Common Use Cases

  1. Basic Operations: Simple usage scenarios
  2. System Administration: Administrative tasks
  3. Automation: Script integration
  4. Troubleshooting: Diagnostic usage
  • Other commands in the system-info category
  • System utilities for similar operations