Co robi LASTLOG użycie. Konsola is read from the file /var/log/lastlog uruchomić.

Czy przydatne?

Polecenie lastlog

Wykonanie, użycie: System administration command. Print the last login times for system accounts. Login information is read from the file /var/log/lastlog

Opcje wykonania lastlog w konsoli

-tn, --timen

Print only logins more recent than n days ago.

-uname, --username

Print only login information for user name.

Przykłady lastlog działanie w Słownik polecenie L

Przykład LASTLOG użycie :
Jak użyć Cancel print jobs. Job IDs can be obtained from lpq ; if no job is specified, cancels the current job on the default printer co znaczy.
Przykład LASTLOG użycie :
Jak użyć Consult /var/run/utmp for user's login name. If found, print it; otherwise, exit with an error message krzyżówka.
Przykład LASTLOG użycie :
Jak użyć of filenames and print matches. Matches include all files that contain pattern unless pattern includes metacharacters, in which case locate requires an exact match. *, ?, [, and ] are treated co to jest.
Przykład LASTLOG użycie :
Jak użyć login asks for a username (name can be supplied on the command line) and password (if appropriate). If successful, login updates accounting files, sets various environment variables, notifies users słownik.
Przykład LASTLOG użycie :
Jak użyć Search for lines in file (/usr/dict/words by default) that begin with string czym jest.