Rate This Document
Findability
Accuracy
Completeness
Readability

Running and Verification

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Verify Linenoise-NG.
    cd /path/to/linenoise-ng-1.0.1/build
    ./example

    Type hello,world! and press Enter. Then type this is linux and press Enter. After that, press Ctrl+C to exit.

    cat history

    Information similar to the following is displayed:

    # ./example
    starting...
    linenoise> hello,world!
    thanks for the input.
    linenoise> this is linux
    thanks for the input.
    linenoise> ^C
    # cat history
    hello,world!
    this is linux