Tag Archives: linux

Linux: Run Cron Job on Reboot

unix linux
Explains how to schedule a cron job to run after Linux / BSD system reboot or system startup using @reboot Vixie cron macro.

Linux: Get Time in Timezone

unix linux
Explains how to get the current time in a different timezone on Linux without changing the system timezone.

Linux: Pretty Print Mount Output

unix linux
Explains how to pretty print the output of the mount command on Linux by formatting the output using printf, awk and column commands.

Linux: SSH Session Logging

unix linux
Explains how to perform ssh session logging on Linux using tee and screen commands.

Linux: Make File Undeletable / Immutable

unix linux
Explains how to make a file undeletable or immutable on Linux using extended file attributes. Even a root user will not be able to delete a file with the immutable attribute set.