|
How to know the current users in the Linux ?
I have been trying to use cat /etc/passwd | cut -d":" -f1 command , but I note that the result contain many users , knowing that i have 2 users plus the root user.
so how i could list just these three users ???
I have tried a search on Google, but I really don't know what I need to search for. Can anyone help me to solve this? Please bear in mind that I am new to this and so would appreciate being told in plain English what I need to do or where I need to start.
Last edited by mohgam; 01-12-2012 at 05:28 AM.
|