LinuxCommandds

Page 15

$ kill 0 Terminates all current process except your shell Command: who Description: Lists all users currently on system. Syntax: who [options] [file] Options: Options

What it does

-a

Equivalent to -b -d --login -p -r -t -T -u.

am i

Print the user-name of the invoking user.

-b (boot)

Print time of last system boot.

-d (dead)

Print a list of dead processes.

-i (idle)

Include idle times. An idle time of indicates activity within the last minute; one of old indicates no activity in more than a day.

-l (login)

Print list of system login processes.

-m

Same as who am i.

-p

Print active processes spawned by init.

-q (count)

"Quick." Display only the user-names and total number of users.

-r (run level)

Print the current run level.

Command: who am i Description: Reports the details about the command user. Syntax: who am I Command: who am i Description: Reports the user name of the command user. Syntax: whoami


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.