Если вы не возражаете против получения заголовка имени файла, а также интервала, то, по крайней мере, с реализациями GNU Coreutils head
/ tail
вы могли бы сделать
tail -n +1 *
или
head -n -0 *
Возможно, у вас есть файл в /etc/apt/sources.list.d
, содержащий недопустимое определение репозитория. Удалите это, и ошибка больше не будет возникать.
E: The repository 'https://download.docker.com/linux/debian kali-rolling Release' does not have a Release file.
У Docker нет версии для kali-rolling
. Вы должны использовать кодовые имена Debian.
Users of Debian derivatives such as “BunsenLabs Linux”, “Kali Linux” or “LMDE” (Debian-based Mint) should follow the installation instructions for Debian, substituting the version of their distro for the corresponding Debian release. Refer to the documentation of your distro to find which Debian release corresponds with your derivative version
Установите Docker Engine на Debian
echo "deb [arch=amd64] https://download.docker.com/linux/debian buster stable" | \
sudo tee /etc/apt/sources.list.d/docker-ce.list
Как сказал Стивен , удалить файл под /etc/apt/sources.list.d
, который является основной причиной ошибки.