Welcome to ciysys blog

Frequently used commands

Published on: 22nd Apr 2014

Updated on: 23th Sep 2022

Overview

This page contains the frequently used commands in normal day operations.

Operations

Server management

Daemon/service management

apt command

Personalize your console command by using alias.

Then, add the following (my frequently used commands) to the bottom of the file,

alias f2b='sudo iptables -S | grep f2b'
alias f2b-log='sudo tail -n 30 /var/log/fail2ban.log'
alias auth-log='sudo tail /var/log/auth.log -n 100'
alias check-reboot='cat /var/run/reboot-required'

Finally, save the changes.

Related posts

Jump to #UBUNTU blog

Author

Lau Hon Wan, software developer.