I installed aptitude, changed some parameters in it, I have a task:

It is enough to copy the config file to the /root/.aptitude/ directory: cp -f ./aptitude/config /root/.aptitude/config

But I do not have the / aptitude directory, I just can’t find the file / aptitude / config How to be?

  • 2
    to create it, obviously ... and attention to the dot in front of the name - this means that it is “hidden” ... - Fat-Zer
  • 2
    1. у меня есть задание . 2. Но у меня нет каталога… Как быть? 3. Obviously: refer to the one who gave the task. - aleksandr barakin 4:39 pm
  • @ Fat-Zer, it says on the Internet, "Custom configuration file, ~ / .aptitude / config. This file is overwritten when the user changes the settings" , but I do not have this file, I changed the settings in aptitude, where did they overwrite? - Nobody
  • 2
    @Nobody, according to a good old tradition, when a person claims something dubious, but does not support it with the conclusion of the team he does not believe (at best) ... possible reasons why you didn’t notice it after creation: 1) the .aptitude directory .aptitude hidden , and you run ls without the -a; 2) запускал и редактировал настройки switch -a; 2) запускал и редактировал настройки -a; 2) запускал и редактировал настройки aptitude ` -a; 2) запускал и редактировал настройки from root, and try to find the file in the directory of a regular user or vice versa; 3) somehow you abnormally end aptitude so that it does not save the config; 4) you make some even more stupid mistake. - Fat-Zer

0