Skip to content

Information Security News

  • Home
  • Apple
  • Google
    • Android
  • Information Security
    • Cyber Security
    • Cybercriminals
    • Data Leak
    • Malware
    • Vulnerability
  • Linux
  • Microsoft
    • Windows
  • Open Source Tool
  • Technology
  • Home
  • Apple
  • Google
    • Android
  • Information Security
    • Cyber Security
    • Cybercriminals
    • Data Leak
    • Malware
    • Vulnerability
  • Linux
  • Microsoft
    • Windows
  • Open Source Tool
  • Technology

Information Security News

  • Home
  • Apple
  • Google
    • Android
  • Information Security
    • Cyber Security
    • Cybercriminals
    • Data Leak
    • Malware
    • Vulnerability
  • Linux
  • Microsoft
    • Windows
  • Open Source Tool
  • Technology
  • Linux

Linux command to view user login information

by Nam Phong · December 22, 2019

On Linux, To display the currently logged-in user session, you can use the command:

w

20:22:13 up 1:29, 1 user, load average: 0.00, 0.01, 0.00: the current system time and system running time, the current number of logged-in users, and the system’s average load information.

  1. USER: username
  2. TTY: Login terminal type
  3. FROM: Remote terminal address
  4. LOGIN@: Login time
  5. IDLE: Idle time; this is a timer that will be reset as soon as the user performs any action
  6. JCPU: The time is taken by all processes connected to the terminal, including the currently running background job
  7. PCPU: Time is taken by the current process
  8. WHAT: Tasks currently being performed

Show currently logged in a user session with who command

Show all login names and number of logged-in users

user login information Linux

Show the currently logged in user with whoami command

user login information Linux

Related coverage

  • How to View System Disk Usage in Linux
  • Linux AI Bug Fixes Outpace Incoming Kernel Reports
  • Raspberry Pi Desktop Returns for PC and Mac
  • AI Fixes Linux 7.3 Kernel Bug
  • Debian 13.6 Released: Crucial Security and UEFI Fixes
  • The 500ms Slumber: How a One-Line Patch Unleashed 10x Throughput in QEMU

Support Our Threat Intelligence

If you find our technology report and cybersecurity news helpful, consider supporting our work.

Buy Me a Coffee Logo Buy Me a Coffee PayPal
Crypto QR Code
USDT (TRC20):
TN8BdV8cp4T1Cd28gK9qTAnZknzzuwyUtm
USDT (ERC20):
0x3725e1a7d3bc5765499fa6aaafe307fabcd75bce

Tags: Linuxuser login informationwwhoami

Follow:

  • Next story How to create SWAP partition in CentOS
  • Previous story How to View System Disk Usage in Linux

  • Recent Posts
  • Popular Posts
  • Tags
  • Screenshot of the North Korean fake construction company website and fake construction company deepfake call

    Cybercriminals

    North Korean Fake Construction Company Uses Deepfakes to Chase US Contracts

    November 23, 2026

  • Google Chrome mirror dimension synthetic web sandbox architecture

    Google

    Google Chrome Mirror Dimension Tests AI Agents Safely

    November 20, 2026

  • CISA ICS advisories November 2026 alert covering CISA ICS advisories for Elecbrakes, OpenPLC Runtime, and libumqtt

    Vulnerability

    CISA ICS Advisories Warn of Elecbrakes, OpenPLC, and libumqtt Flaws

    November 20, 2026

  • PHP security vulnerabilities November 2026 advisory alert showing PHP security vulnerabilities CVE-2026-129289 and CVE-2026-129496

    Vulnerability

    PHP 8.5.13 and 8.4.28 Fix 12 Security Vulnerabilities

    November 19, 2026

  • DOJ sentencing announcement for Tyler Robert Buchanan and Tyler Robert Buchanan sentenced in $11.6M crypto theft

    Cybercriminals

    Tyler Robert Buchanan Sentenced to 6 Years for Crypto Theft

    November 19, 2026

  • Screenshot of the North Korean fake construction company website and fake construction company deepfake call

    Cybercriminals

    North Korean Fake Construction Company Uses Deepfakes to Chase US Contracts

    November 23, 2026

  • OpenSUSE Leap 15.4 Beta releases, Linux distributions

    Linux

    OpenSUSE Leap 15.4 Beta releases, Linux distributions

    May 30, 2020

  • Ubuntu 16.04.6 LTS released: fix security vulnerabilities

    Linux

    Ubuntu 16.04.6 LTS released: fix security vulnerabilities

    March 1, 2019

  • GhostBSD 23.10.1 released, FreeBSD distribution

    Linux

    GhostBSD 23.10.1 released, FreeBSD distribution

    May 1, 2020

  • Solus 4.4 Fortitude releases, Linux distribution

    Linux

    Solus 4.4 Fortitude releases, Linux distribution

    January 26, 2020

  • AI AI security Android Apple APT BOTNET CISA cloud security Critical Infrastructure cryptocurrency cyberattack cybercrime Cyber Espionage cybersecurity Cyber Security Cybersecurity 2026 data breach Github google hacking Infosec InfoSec 2026 Infostealer Linux Linux Kernel malware Microsoft open source phishing privacy privilege escalation Prompt Injection ransomware RCE remote code execution security Social Engineering supply chain attack Tech News Tech News 2026 threat intelligence vulnerability windows Windows 11 zero-day
  • Home
  • About Us
  • Contact Us
  • DMCA NOTICE
  • Privacy Policy

Information Security News © 2026. All Rights Reserved.

Powered by  - Designed with Hueman Pro