Как использовать локально установленную последнюю версию nano (в CentOS 7 )по умолчанию? (Нет прав администратора)

Оказывается ответ на самом деле Method1 в этот ответ . Это относится как к Ubuntu, так и к CentOS. Цитирование:

Systemd... will unlock all additional LUKS partitions if

  1. all of the partitions you want to unlock use the same password
  2. you enter the password for the root partition correctly the first time. If you get it wrong, you'll need to enter it again for every other LUKS partition

0
22.11.2020, 10:43
1 ответ

The path export PATH=$PATH:$HOME/.local/bin is saved in ~/.bash_profile

Измените его наPATH=$HOME/.local/bin:$PATH

ИЛИ

Добавить, например,.$HOME/.bashrc:

alias nano=$HOME/.local/bin/nano

0
18.03.2021, 22:48

Теги

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