Hydranode Shell Basics

A command is a line of text, followed by <enter> key. All commands consist of three sections:

  • Name - this is the first section that uniquely identifies the command. Example: vd
  • Target - optional, indicates which object the command should target. Example: search linux
  • Flags - optional, customizes the command behaviour. Example: sea --type=vid linux

All commands, and most sub-commands, can be abbrevated, as long as the abbrevation doesn't cause ambigiouty. Thus 's' is ambigious (search, share), but se works for search. Likewise, ed c Raz resolves into ed2k connect Razorback.

Notice: This reference is updated as per latest development snapshot; not all commands may not yet be available in the latest stable release.

Command Reference

=the number of connections blocked by the filter

  • lsmod - Displays transfer rates and overall transfer summaries for all modules
  • vc <arguments> - Client Statistics, displays the number of clients associated with Downloads, Uploads and Queues
    • <name> - View all sources/clients for module <name>
    • -c - View all connected clients from all modules
    • -c <name> - View connected clients for module <name>
    • -s - View all sources for all modules on all files
    • -s <num> - View all sources for download <num>
    • -q - View Upload Queue
    • -u - View active Uploads
    • -d - View active Downloads

nds ===

  • <module> <command> <args>
  • ed2k list - Display known servers.
  • ed2k stat - Display status information about the ed2k network.
  • ed2k connect <name> - Connect to <name> ed2k server. (use list to see server names/IPs)

Note: All sub-commands, as well as the module name and the arguments can be abbreviated, as long there is no ambiguity.

Miscellaneous

  • history - Show previous commands entered to shell during this session
  • config <arguments> - Changes/Shows configuration values during runtime. See also HydranodeConfig
    • list - Shows current configuration settings
    • get <key> - Shows the value of a key
    • set <key> <value> - Writes new value to a Key, e.g. "config set UpSpeedLimit 22000"
      Keep in mind that all spaces in multi-word config option names need to be escaped properly, e.g config set "HNShell Listen IP" 10.0.0.22
  • share <dir> (-r) - Add a sharing folder, and optionally also all its sub-directories
  • exit, quit - Exit the shell (leaving Hydranode running)
  • shutdown - Shut down Hydranode
  • uname - Display Hydranode version information
  • dmesg <n> - Display n last log messages
  • history - Display last 10 commands entered in the shell