Skip to content

Penetration Testing Tools

  • Home
  • Data Forensics
  • Ethical Hacking
  • Mobile Hacking
  • Network Attacks
  • Vulnerability Assessment
  • Web AppSec
  • OSINT
  • Code Assessment
  • Malware Offense
  • IoT
  • Cryptography
  • Arsenal Lab
  • Hardware/Embedded
  • Malware Defense
  • Network Defense
  • Reverse Engineering
  • Smart Grid/Industrial Security
  • Home
  • Data Forensics
  • Ethical Hacking
  • Mobile Hacking
  • Network Attacks
  • Vulnerability Assessment
  • Web AppSec
  • OSINT
  • Code Assessment
  • Malware Offense
  • IoT
  • Cryptography
  • Arsenal Lab
  • Hardware/Embedded
  • Malware Defense
  • Network Defense
  • Reverse Engineering
  • Smart Grid/Industrial Security

Penetration Testing Tools

  • Linux

Linux command to view user login information

by ddos · 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

Tags: Linuxuser login informationwwhoami

Follow:

  • Next story Google has been fined 150 million euros by French regulators for advertising issues
  • Previous story Microsoft releases Windows Feature Experience Pack which allows you to change the Windows 10 UI

Search

MAKE THE WEBSITE ONLINE

  • Popular Posts
  • Tags
  • Vulnerable REST API

    Arsenal Lab

    VAmPI: Vulnerable REST API with OWASP top 10 vulnerabilities

    June 15, 2025

  • Protect Kubernetes

    Network Defense

    Tarian: Protect your applications running on Kubernetes from malicious attacks

    May 16, 2025

  • password-spraying tool

    Ethical Hacking

    CaptainCredz: modular and discreet password-spraying tool

    May 17, 2025

  • taint analysis

    Vulnerability Assessment / Web AppSec

    FlowMate: BurpSuite extension that brings taint analysis to web applications

    May 17, 2025

  • Web AppSec

    katana: next-generation crawling and spidering framework

    May 18, 2025

  • 5G Amazon AMD Android Apple ARM Artificial intelligence Asus ChatGPT chrome Dell facebook Firefox Github google Google Chrome Huawei India Intel Lenovo LG Linux Linux Kernel MediaTek Meta Micron Microsoft microsoft edge Mozilla MSI Nvidia OpenAI Qualcomm Samsung SK Hynix Sony TSMC twitter ubuntu windows Windows 7 Windows 10 Windows 10X Windows 11 Xbox




Reward

Brilliantly

SAFE!

meterpreter.org

Content & Links

Verified by Sur.ly

2022

  • Home
  • About Us
  • Contact Us
  • DMCA NOTICE
  • Privacy Policy

Penetration Testing Tools © 2025. All Rights Reserved.