nd command not found

In this troubleshooting guide we learn how to fix nd command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

nd: command not found

or when using sudo you get the following error message

sudo: nd: command not found

Solutions to nd: command not found

How To Fix nd: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu nd is provided by nd package.

nd is:

nd is a command line tool to issue queries to a WebDAV server.

WebDAV stands for “Web-based Distributed Authoring and Versioning” (RFC 2518). It is a protocol built on top of HTTP, allowing users to collaboratively edit and manage files on remote web servers.

nd can be used to retrieve, submit, remove, and lock individual files, as well as retrieving information about them. It also supports proxying, as well as the authentication methods ‘Basic’ and now ‘Digest’ for protecting against unsolicited access.

It is smaller than the alternative tool Cadaver. However, nd has neither an interactive mode, nor has it support for SSL or TLS encrypted transmissions, but it is well suited for use in scripts.

nd is dependent on libxml2 and libmhash2.

To fix this problem, we can install more using the command below.

sudo apt-get -y install nd

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install nd.

sudo apt -y install nd

Or if you have aptitude installed you can use the following command.

sudo aptitude install nd

Summary

In this tutorial we learn how to fix nd command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.