📖
Resources
  • 👋Welcome!
  • Semesters
    • 🚀S1 & S2
      • 🔍Focus
      • âš—ī¸Chemistry
      • 🔭Physics
      • 📊LAC
      • 📈VCD
      • đŸ˜ī¸BCE - BME
      • 🔌BEE
      • 📐Graphics
      • âš™ī¸Mechanics
      • đŸ–Ĩī¸CP
      • â›ˇī¸Life Skills
      • 🧑‍đŸ’ŧPC
    • 📚S3
      • 📉DS
      • âš™ī¸DE
      • 📊DMS
      • 🧑‍đŸ’ģOOP
      • đŸ–Ĩī¸OOP Lab
      • đŸ—ī¸LSD
      • 🌱SE
      • 🔍Extras
    • 📓S4
      • 📊GT
      • 💾COA
      • đŸĒŖDBMS
      • đŸ’ŊOS
      • 😃PE
      • đŸ‡ŽđŸ‡ŗCOI
      • đŸĨŧDE Lab
      • đŸ’ģOS Lab
      • 🔐Number Theory
    • âœī¸S5
      • 💾FLAT
      • 🛜CN
      • đŸ’ŊSS
      • đŸ•šī¸MM
      • đŸ’ģMOSS
      • â˜ĸī¸DM
      • đŸĨŧSS&M Lab
      • đŸĒŖDBMS Lab
      • Cryptographic Algorithms
    • 📖S6
      • CD
      • CGIP
      • AAD
      • PIP (Elective)
      • IEFT
      • CCW
      • Networking Lab
      • Mini Project
    • 📝S7
    • 🎓S8
  • Resources
    • Git
      • Git installation
      • What is Git?
    • Linux
      • Introduction
        • History of Operating System
        • Rise of GNU Project
        • Basic Terminologies
      • Linux shell
      • Commands
        • The Linux man command
        • The Linux ls command
        • cd command
        • The Linux pwd command
        • The Linux mkdir command
        • The Linux rmdir command
        • mv command
        • cp command
        • open command
        • touch command
        • find command
        • Cat command
        • grep command
        • Echo command
        • Vim Editor
        • Emacs Editor
        • Nano editor
        • whoami command
        • who command
        • su command
        • sudo command
        • passwd command
        • clear command
        • History command
    • DSA
      • 1.2 Concepts of Sliding Window Technique
      • 2.2 Characteristics of Sliding Window Problems
      • 1.3 Introduction to Deque and Monotonic Stack
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
  1. Resources
  2. Linux
  3. Commands

who command

Previouswhoami commandNextsu command

Last updated 1 year ago

Was this helpful?

The who command displays the users logged in to the system.

Unless you're using a server multiple people have access to, chances are you will be the only user logged in, multiple times:

Screen-Shot-2020-09-03-at-18.03.05

Why multiple times? Because each shell opened will count as an access.

You can see the name of the terminal used, and the time/day the session was started.

The -aH flags will tell who to display more information, including the idle time and the process ID of the terminal:

The special who am i command will list the current terminal session details:

Screen-Shot-2020-09-03-at-18.05.29
Screen-Shot-2020-09-03-at-18.06.35
Screen-Shot-2020-09-03-at-18.07.30