Tag Archives: linux

Unix / Linux: How to Create Zombie Process

unix linux
Explains how zombie processes or defunct processes are created on Unix / Linux. Also explains how the zombie process can be removed from the process table. A simple C program is used to demonstrate the creation of zombie processes.

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.