Nessus Agent

As an administrator user, you can manage certain settings for Tenable Nessus Agent via the command line.

Tenable Nessus Agent has its own nessuscli tool.

Tenable Nessus Agent Command Line Tool

For Nessus Agent, use the following command syntax for your operating system.

Operating System

Command

Linux

# /opt/nessus_agent/sbin/nessuscli <cmd> <arg1> <arg2>

macOS

# /Library/NessusAgent/run/sbin/nessuscli <cmd> <arg1> <arg2>

Windows

C:\Program Files\Tenable\Nessus Agent\nessuscli.exe <cmd> <arg1> <arg2>

Command syntax

  • # nessuscli — This documentation sometimes uses the shorthand # nessuscli (instead of the full path to the nessuscli tool for the operating system) to represent general usage across different operating systems. However, for your commands to work, you must include the full path for your operating system, as shown above.

    For each command, the documentation contains a quick reference section with the full command for each operating system. You can copy and paste these commands directly into the command line terminal.

  • <cmd> — The command. Do not include the brackets (< >).
  • <arg 1> <arg 2> — The arguments for the command, if applicable. Do not include the brackets (< >).

For more information, see the following: