Show last logged in users and pipe to head for the last 30.
last | head -n30
User login
Recent comments
- Thanks for the info
1 year 5 weeks ago - No space between the -n option and a number
1 year 5 weeks ago
Linux: Use a command terminal, such as xterm or konsole.
Windows: Start > Run, type cmd.exe and press Enter for the command prompt.
Show last logged in users and pipe to head for the last 30.
No space between the -n option and a number
admin 1 year 5 weeks 6 days 13 hours ago
There's no space between -n option and a number. Changing the number, changes the number of lines returned.
Thanks for the info
dewey 1 year 5 weeks 5 days 15 hours ago
Thanks.