Forum: Linux and Free Software
Topic: linux commands
started by: smart girl
Posted by smart girl on Mar. 30 2006,11:09hi all
I am newbie in linux and I've just started learning how to use it.
actually I hadn't installed linux on my Pc yet, instead I used knoppix std which seems to operate like lenux.
the problem of using knoppix that it does not perform some commands as they must be.
the last command, if we use it with -d option it must display the IP address but it does not do so.
another problem is that I an required to write a program to do some operations in the date of login displayed in last command and since I don't know how data are displayed using last command I will not be able to write that program.
what I need is if any one of you could show me a screen shot of text to the result of last command with some options and with out.
YOUR KIND RESPONSE IS APRECIATED
Posted by doobit on Mar. 30 2006,14:12Is this what you want?
< http://www.linuxdevcenter.com/linux/cmd/cmd.csp?path=l/last >
I think this is a bash command so you need to be in a bash terminal.
Posted by mikshaw on Mar. 30 2006,16:14I don't think it will display an IP address if the given user is connected locally....but that's just a guess.