Category: Debian

0

Get number of mails in queue in postfix

To show the queue of postfix, just run postqueue -p But if you will like to show the total number of mails in the postfix queue, you can run this streng.

Share this:

0

Compiling Linux Kernel 3.6.X the debian/ubuntu way for Hyper-V

Here is a guide to compile a kernel 3.6.X kernel for hyper-v the debian way.

Share this:

0

Linux find hidden files in path

If you want to find any hidden files (Files with a dot first), you can use this command:

You can change ./ to be /var/www to find any hidden files in /var/www Share...

0

Problems with a shell script running from cron

If you have a shellscript thats run okay from shell, but not will running from cron, run this command (This is what it looks like when cron run it)

  Share this:

0

Kill all process from ps and grep

This command will kill all instance from

Share this:

0

Get list of installed programs from dead disk ubuntu debian

If you have a dead installation, some will not boot you can use this commands, to get the list of installed programs.

And this command to install it on a new installation:

...