Find out if a command has an alias in Linux

Users that passed the novice status in Linux know that you can give an alias to a longer command. For example, instead of df you can use df -haT for a better view of disk space usage. But what if you can’t remember if you already have set an alias for a certain command? Well,… Read More »

What user accounts have I created in Linux?

To quickly find out what user accounts you have created in your Linux system, use cut -d: -f1 /etc/passwd | sort This will output the list of usernames from /etc/passwd in a nice and readable way.

Read/Write problem in rescue mode Linux

Ever had the surprise of finding out you mounted a filesystem in rescue mode and don’t have read and write access? Remount the system to fix the issue: mount -o remount /

Automatic shutdown in Linux

You can tell your Linux box to shut down at a certain time of day using and customizing one of the commands below: shutdown 8:00 — Shutdown at 8:00 shutdown +13 — Shutdown after 13 minutes shutdown -r now — Shutdown and restart shutdown -k +2 — Display the  “The system is going DOWN to… Read More »