reworking content
All checks were successful
learn org at code.softwareshinobi.com/linux.softwareshinobi.com/pipeline/head This commit looks good
All checks were successful
learn org at code.softwareshinobi.com/linux.softwareshinobi.com/pipeline/head This commit looks good
This commit is contained in:
33
landing/docs/.recycle/.recycle2/017-the-who-command.md
Normal file
33
landing/docs/.recycle/.recycle2/017-the-who-command.md
Normal file
@@ -0,0 +1,33 @@
|
||||
# The `who` command
|
||||
|
||||
The `who` command lets you print out a list of logged-in users, the current run level of the system and the time of last system boot.
|
||||
|
||||
### Examples
|
||||
|
||||
1. Print out all details of currently logged-in users
|
||||
|
||||
```
|
||||
who -a
|
||||
```
|
||||
|
||||
2. Print out the list of all dead processes
|
||||
|
||||
```
|
||||
who -d -H
|
||||
```
|
||||
|
||||
### Syntax:
|
||||
|
||||
```
|
||||
who [options] [filename]
|
||||
```
|
||||
|
||||
### Additional Flags and their Functionalities
|
||||
|
||||
|**Short Flag** |**Description** |
|
||||
|---|---|
|
||||
| `-r` |prints all the current runlevel |
|
||||
| `-d` |print all the dead processes |
|
||||
|`-q`|print all the login names and total number of logged on users |
|
||||
|`-h`|print the heading of the columns displayed |
|
||||
|`-b`|print the time of last system boot |
|
||||
Reference in New Issue
Block a user