What is the command for finding the last 3 times the user had logged into the system?
Hello
I am a newbie to linux/Unix, and was wondering how we could find the last 3 logins that the user had made into the system? Help at the earliest would be really appreciated. Thanks Heaps Cheers John |
you can use the last command to find a list of logins. Here is a command that will
give you the last 3 logins # last|grep <username>|head -3 |
what is the command for setting what you deem to be a safe umask
hello
thanks heaps ppuru. That helped a lot. I got one more doubt, i really do not understand umask thing. What is the command for setting what you deem to be a safe umask and why is this umask suitable with reference to sort of system you would use it in. |
well the obvious command is umask
The default is 0022 in most cases which creates files with 644 (rw-r-r). RedHat uses 0002 and creates rw-rw-r. 0666 - 0022=0644 which is -rw-r--r-- |
All times are GMT -5. The time now is 07:28 PM. |