Finger command – This is a linux command which provide user information, like user login name, home directory, last login, shell, planned message, who logged in to system local or remote, last user login
Run command to check who logged in to system
# finger
Get information about a user
# finger shahzad
Login: shahzad Name:
Directory: /home/shahzad Shell: /bin/bash
On since Sat Dec 26 22:52 (IST) on pts/2 from 192.168.0.7
1 minute 19 seconds idle
No mail.
Plan:
Creae a plan for a user with finger command
$ echo “I am on vacaiton from 25th dec to 1 Jan, 2021.” >~/.plan
Check user plan information
$finger shahzad
Login: shahzad Name:
Directory: /home/shahzad Shell: /bin/bash
On since Sat Dec 26 22:52 (IST) on pts/2 from 192.168.0.7
1 minute 19 seconds idle
No mail.
Plan:
I am on vacaiton from 25th dec to 1 Jan, 2021.
Get detailed informaiton about logged in user
$ finger -l
0 comments:
Post a Comment