Ads

11 April, 2016

Command Line

Posted By: Unknown - 10:09 PM

Who Are You?

While you're logged in to the system, you might be willing to know : Who am I?
The easiest way to find out "who you are" is to enter the whoami command −
$ whoami
 amrood

$
Try it on your system. This command lists the account name associated with the current login. You can try who am i command as well to get information about yourself.

Who is Logged In?

Sometime you might be interested to know who is logged in to the computer at the same time.
There are three commands are available to get you this information, based on how much you'd like to learn about the other users: users, who, and w.
$ users
 amrood bablu qadir

$ who
amrood ttyp0 Oct 8 14:10 (limbo)
bablu  ttyp2 Oct 4 09:08 (calliope)
qadir  ttyp4 Oct 8 12:09 (dent)

$
Try w command on your system to check the output. This would list down few more information associated with the users logged in the system.

Logging Out

When you finish your session, you need to log out of the system to ensure that nobody else accesses your files while masquerading as you.

To log out

  • Just type logout command at command prompt, and the system will clean up everything and break the connection

About Unknown

I'm Monarul Islam Monir . I am a very passionate, diligent and focused engineer some years of cumulative experience as a system admin, desktop support engineer with technical knowledge and proficiency in system administration, network maintenance, hardware maintenance, operating systems, Linux, Windows (All versions) and I am willingness to learn and effectively apply new technologies.I'm MCP,MCSA certified from Microsoft corporation. I am also an analytical thinker, consistently resolving ongoing issues, often called upon to consult on problems that have eluded resolution by others. I have an extensive exposure to a comprehensive range of team activities; thrive on working in challenging environment. I can demonstrate problem analysis, resolution skills, ability to troubleshoot, solve problems quickly and completely. Excellent client management skills innate ability to build strong, lasting and mutually beneficial relationships. I can work both full-time and as a freelancer, whichever meets your needs. Call now and let's hook up for business.

© 2016 - Designed by: MONIR IT