wlock command not found

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

Introduction

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

wlock: command not found

or when using sudo you get the following error message

sudo: wlock: command not found

Solutions to wlock: command not found

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

In Ubuntu wlock is provided by sendfile package.

sendfile is:

Sendfile is an asynchronous file transfer service for the Internet, like the sendfile facility in Bitnet: Any user A can send files to another user B without B being active in any way.

The existing standard file transfer (ftp) is a synchronous service: The user must have access to an account on the sending and on the receiving site, too.

Sendfile for Unix, which is an implementation of the SAFT protocol (Simple Asynchronous File Transfer) now offers you a true asynchronous file transfer service for the Internet. Virtually any form of file can be sent, including encrypted ones. The SAFT protocol will be submitted as an RFC in the near future.

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

sudo apt-get -y install sendfile

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

You can also use apt command to install sendfile.

sudo apt -y install sendfile

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

sudo aptitude install sendfile

Summary

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