Useful Linux – the Absolute Basics

by | Apr 13, 2020

Last Login Date for Everyone on your Linux Server

lastlog

Last 10 Logins

last -n 10

Memory Usage Linux

free -m

or nice formatted summary:

vmstat -s

Log Location

/var/syslog

Search Linux Directories Recursively to find File containing String

The “l” means just print the file name. If you leave it out then the command prints the instances of the string that it found.