Find the answer to your Linux question:

Search:

Type: Posts; User: masikh; Keyword(s):

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    3,030

    SystemCall *(reboot the system, only disk flush!!!)

    #include <stdio.h>
    #include <sys/reboot.h>


    int
    main (int argc, char **argv)
    {
    if (reboot (RB_AUTOBOOT) < 0) {
    fprintf (stderr, "%s: call to reboot() system call...
  2. Replies
    2
    Views
    2,295

    A general approach to the above problem.

    Behold!

    When you kill a parent process its children die!

    e.g (output pstree)

    init
    |
    \----xterm - bash - program
  3. It's grdesktop.

    sure there is!. It's called grdesktop. Install it using you ordinary package manager. If you like you can also compile it by hand. I noticed a dependency on rdesktop. (while installing it within a...
Results 1 to 3 of 3