lastlog - reports the most recent login of all users or of a given user


   lastlog [options]


   lastlog formats and prints the contents of the last login log
   /var/log/lastlog file. The login-name, port, and last login time will
   be printed. The default (no flags) causes lastlog entries to be
   printed, sorted by their order in /etc/passwd.


   The options which apply to the lastlog command are:

   -b, --before DAYS
       Print only lastlog records older than DAYS.

   -h, --help
       Display help message and exit.

   -R, --root CHROOT_DIR
       Apply changes in the CHROOT_DIR directory and use the configuration
       files from the CHROOT_DIR directory.

   -t, --time DAYS
       Print the lastlog records more recent than DAYS.

   -u, --user LOGIN|RANGE
       Print the lastlog record of the specified user(s).

       The users can be specified by a login name, a numerical user ID, or
       a RANGE of users. This RANGE of users can be specified with a min
       and max values (UID_MIN-UID_MAX), a max value (-UID_MAX), or a min
       value (UID_MIN-).

   If the user has never logged in the message ** Never logged in** will
   be displayed instead of the port and time.

   Only the entries for the current users of the system will be displayed.
   Other entries may exist for users that were deleted previously.


   The lastlog file is a database which contains info on the last login of
   each user. You should not rotate it. It is a sparse file, so its size
   on the disk is usually much smaller than the one shown by "ls -l"
   (which can indicate a really big file if you have in passwd users with
   a high UID). You can display its real size with "ls -s".


       Database times of previous user logins.


   Large gaps in UID numbers will cause the lastlog program to run longer
   with no output to the screen (i.e. if in lastlog database there is no
   entries for users with UID between 170 and 800 lastlog will appear to
   hang as it processes entries with UIDs 171-799).


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.

Free Software

Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.

Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.

Free Books

The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.

Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.

Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.