9. Run samhain
Prev | Chapter 2. Compiling and installing | Next

## 9. Run samhain

After successful initialization of the baseline database, you can run samhain in 'check' mode by typing:

            sh$ samhain -t check

To run samhain as a daemon, you can either use the command line option '-D', or set daemon mode in the configuration file with the option 'Daemon=yes'.

| Tip
When testing samhain for the first time, you may want to use the command line option --foreground to run samhain in the foreground rather than as daemon. This allows to spot the reason for eventual problems much easier.

Prev | Up | Next
8. Initialize the baseline database | Home | 10. Files and directory layout