Запрет NetworkManager устанавливать ~. поиск домена по ссылке на systemd-resolved

Используй ред, чувак!

ed -s poems <<< $'$-1\n'

Это говорит ed открыть файл poemsв режиме сценария (-s)(, чтобы он не печатал лишних сообщений ), а затем отправляет адресную команду в строке здесь -, которая говорит: «перейти к последняя строка файла ($), минус 1", которая печатает эту строку.

Учитывая исходный файл стихотворения из:

A is for awk, which runs like a snail, and
B is for biff, which reads all your mail.

C is for cc, as hackers recall, while
D is for dd, the command that does all.

E is for emacs, which rebinds your keys, and
F is for fsck, which rebuilds your trees.

G is for grep, a clever detective, while
H is for halt, which may seem defective.

I is for indent, which rarely amuses, and
J is for join, which nobody uses.

K is for kill, which makes you the boss, while
L is for lex, which is missing from DOS.

M is for more, from which Less was begot, and
N is for nice, which it really is not.

O is for od, which prints out things nice, while
P is for passwd, which reads in strings twice.

Q is for quota, a Berkeley-type fable, and
R is for ranlib, for sorting ar sic table.

S is for spell, which attempts to belittle, while
T is for true, which does very little.

U is for uniq, which is used after Sort, and
V is for vi, which is hard to abort.

W is for whoami, which tells you your name, while
X is, well, X, of dubious fame.

Y is for yes, which makes an impression, and
Z is for zcat, which handles compression.

... вывод результата:

Y is for yes, which makes an impression, and

0
27.01.2020, 12:42
1 ответ

Я не уверен, какая версия NetworkManager реализовала это изменение, но с тех пор проблема была устранена в текущих версиях NM.

0
06.03.2021, 13:22

Теги

Похожие вопросы