No meu sistema de arquivos, o arquivo /var/log/lastlog é enorme
ll /var/log/lastlog
-rw-rw-r-- 1 root utmp 494536286056 May 28 17:27 /var/log/lastlog
existe uma maneira nativa do Ubuntu de logrotatá-lo?
No meu sistema de arquivos, o arquivo /var/log/lastlog é enorme
ll /var/log/lastlog
-rw-rw-r-- 1 root utmp 494536286056 May 28 17:27 /var/log/lastlog
existe uma maneira nativa do Ubuntu de logrotatá-lo?
Eu li este tópico sobre onde colocar aliases.
Agora, vamos supor que meu comando personalizado seja bastante elaborado (recebe argumentos na entrada, é composto de vários comandos executados um após o outro, quero preservá-lo em várias linhas para maior clareza, envolve aspas, aspas duplas, etc.), então quero defini-lo como uma função, por exemplo
sshdev_system_loop () {
while true; do
echo "[$(date +'%Y-%m-%d %H:%M:%S')] Trying to log into ststem $2 as user $1 ."
timeout 10 ssh $1@$2
done
}
devo colocá-lo dentro .bash_aliases
ou no final .bashrc
ou dentro .profile
?
Por um lado, não quero incluí-lo, .bash_aliases
pois "estragará" a lista de
alias alias_name='command/list of commands'
e por outro lado, .bashrc
parece um arquivo administrado pelo sistema operacional, então não quero adicionar nada a ele.
Então, qual é a prática recomendada para adicionar funções como comandos personalizados no Ubuntu?
Hoje, ao iniciar minha VM Virtualbox e tentar habilitar a segunda tela, descobri que o botão para habilitá-la está "acinzentado" e não pode ser clicado. Estava funcionando até ontem.
Fiz algumas pesquisas e descobri vários tópicos (ou seja, este ) indicando que o problema pode estar no VM Guest Additions. Na verdade, outras funcionalidades, como copiar e colar entre o sistema operacional host e convidado, estão desabilitadas.
Tentei atualizar o Virtualbox Guest Additions no menu superior da VM (Dispositivos > Atualizar adições de convidados), mas estou recebendo este erro pop-up:
Creating installation directory "/tmp/" on guest failed: VERR_NOT_FOUND.
Result Code:
VBOX_E_IPRT_ERROR (0X80BB0005)
Component:
GuestSessionWrap
Interface:
IGuestSession {234f0627-866d-48c2-91a5-4c9d50f04928}
Eu verifiquei se o diretório /tmp/ existe na minha máquina, mas acho que por algum motivo ele não pode baixar os novos arquivos de instalação lá.
Então, quero atualizar o Virtualbox Guest Additions via terminal.
Como eu posso fazer isso?
Seguindo este tutorial , tentei reinstalar as adições de convidados novamente
sudo apt update
aqui eu recebo a mensagem
4 packages can be upgraded. Run 'apt list --upgradable' to see them
e então esta mensagem de erro:
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:50
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:50
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:50
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:50
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:50
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:50
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:50
W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:50
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:50
W: Target DEP-11-icons-hidpi (main/dep11/[email protected]) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:50
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:50
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:50
W: Target Packages (restricted/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:50
W: Target Packages (restricted/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:50
W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:50
W: Target Translations (restricted/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:50
W: Target Translations (restricted/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:50
W: Target DEP-11 (restricted/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:50
W: Target DEP-11 (restricted/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:50
W: Target DEP-11-icons-small (restricted/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:50
W: Target DEP-11-icons (restricted/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:50
W: Target DEP-11-icons-hidpi (restricted/dep11/[email protected]) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:50
W: Target CNF (restricted/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:50
W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:50
E: The repository 'http://security.ubuntu.com/ubuntu hirsute-security Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:51
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:51
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:51
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:51
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:51
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:51
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:51
W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:51
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:51
W: Target DEP-11-icons-hidpi (main/dep11/[email protected]) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:51
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:51
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:51
W: Target Packages (restricted/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:51
W: Target Packages (restricted/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:51
W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:51
W: Target Translations (restricted/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:51
W: Target Translations (restricted/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:51
W: Target DEP-11 (restricted/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:51
W: Target DEP-11 (restricted/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:51
W: Target DEP-11-icons-small (restricted/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:51
W: Target DEP-11-icons (restricted/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:51
W: Target DEP-11-icons-hidpi (restricted/dep11/[email protected]) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:51
W: Target CNF (restricted/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:51
W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:51
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:50
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:50
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:50
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:50
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:50
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:50
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:50
W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:50
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:50
W: Target DEP-11-icons-hidpi (main/dep11/[email protected]) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:50
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:50
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:50
W: Target Packages (restricted/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:50
W: Target Packages (restricted/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:50
W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:50
W: Target Translations (restricted/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:50
W: Target Translations (restricted/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:50
W: Target DEP-11 (restricted/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:50
W: Target DEP-11 (restricted/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:50
W: Target DEP-11-icons-small (restricted/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:50
W: Target DEP-11-icons (restricted/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:50
W: Target DEP-11-icons-hidpi (restricted/dep11/[email protected]) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:50
W: Target CNF (restricted/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:50
W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:50
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:51
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:51
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:51
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:51
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:51
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:51
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:51
W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:51
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:51
W: Target DEP-11-icons-hidpi (main/dep11/[email protected]) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:51
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:51
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:51
W: Target Packages (restricted/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:51
W: Target Packages (restricted/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:51
W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:51
W: Target Translations (restricted/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:51
W: Target Translations (restricted/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:51
W: Target DEP-11 (restricted/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:51
W: Target DEP-11 (restricted/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:51
W: Target DEP-11-icons-small (restricted/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:51
W: Target DEP-11-icons (restricted/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:51
W: Target DEP-11-icons-hidpi (restricted/dep11/[email protected]) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:51
W: Target CNF (restricted/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:51
W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:51
então eu corro
apt list --upgradable
e pegue
tommaso@tommaso-VirtualBox:~$ apt list --upgradable
Listing... Done
gjs/jammy-updates 1.72.4-0ubuntu0.22.04.1 amd64 [upgradable from: 1.72.2-0ubuntu2]
libgjs0g/jammy-updates 1.72.4-0ubuntu0.22.04.1 amd64 [upgradable from: 1.72.2-0ubuntu2]
transmission-common/jammy-updates,jammy-updates 3.00-2ubuntu2.1 all [upgradable from: 3.00-2ubuntu2]
transmission-gtk/jammy-updates 3.00-2ubuntu2.1 amd64 [upgradable from: 3.00-2ubuntu2]
então
sudo apt install build-essential linux-headers-$(uname -r) -y
Menu superior da VM> Imagem do CD de adições de convidados, e parece que nada está acontecendo, mas acho que é porque eles já estão instalados, mas não atualizados.
cd /media/<MY_USER>/VBox_GAs_7.0.4/
sudo ./VBoxLinuxAdditions.run
mas eu entendo
Cannot reload kernel modules: one or more modules is still in use
então eu reinicio minha VM e executo sudo ./VBoxLinuxAdditions.run
novamente, mas nada muda.
Atualizei o aplicativo VirtualBox, mas isso não resolve o problema.
Eu tenho postgres 13.10 e PGAdmin4 7.1 instalado no Ubuntu 22.04
Na IU do PGAdmin4, desejo "adicionar novo servidor" com essas configurações
name
postgres-local
username
postgres
pw
postgres
hostanme / address
127.0.0.1
port
5432
server group
Servers
então eu corri no meu terminal
sudo -i -u postgres
psql
ALTER USER postgres WITH PASSWORD 'postgres';
Então eu entro no PGAdmin4, tento adicionar novo servidor inserindo as cofigurações acima, mas quando clico em salvar recebo este erro
unable to connect to server: connection failed: connection refused is the server running on that host accepting tcp/ip connections?
Qual poderia ser o problema?
Eu verifiquei se o postgres está sendo executado corretamente via sudo service postgresql status
.
eu ja tentei
edite o arquivo /etc/postgresql/13/main/postgresql.conf
descomentando
listen_addresses = 'localhost'
e transformando-o em
listen_addresses = '*'
editar /etc/postgresql/13/main/pg_hba.conf
linhas de mudança de arquivo
# IPv4 local connections:
host all all 127.0.0.1/32 md5
para
# IPv4 local connections:
host all all 0.0.0.0/0 md5
reiniciando postgres
sudo service postgresql restart
Mas não tive sucesso.
Eu precisaria de um comando de uma linha que, dado um número de porta, retornasse informações sobre o comando que iniciou o processo em execução nessa porta.
Normalmente, obtenho essas informações executando umsudo netstat
sudo netstat -antpv | grep PORT_NUMBER
que retorna o PID_NUMBER
na 4ª coluna, após o caractere da coluna ( :
), e então eu uso o PID_NUMBER
como entrada para umps aux
ps aux | grep PID_NUMBER
que retorna informações sobre o "comando de partida" na 11ª coluna.
por exemplo
# use the port number to get the process id
my_machine:~$ sudo netstat -antpv | grep 30001
tcp 0 0 0.0.0.0:30001 0.0.0.0:* LISTEN 616/python
# use the process id to get info on the command which started the process
my_machine:~$ ps aux | grep 616
my_user 616 0.8 0.5 220112 89596 ? S 01:10 6:59 /usr/bin/python my_program.py --log=INFO
É possível obter essas informações com um comando de uma linha?
por exemplo
my_machine:~$ ps aux | grep get_only_the_number_after_the_column_character_in_the_4th_column_of(sudo netstat -antpv | grep PORT_NUMBER)
/usr/bin/python my_program.py --log=INFO
Estou quase fazendo.
eu consigo o que eu quero com
my_machine ~$ ps aux | awk '{if ($2 == "616") print $0;}'
my_user 616 0.7 0.5 220112 89596 ? S 01:10 8:11 /usr/bin/python my_program.py --log=INFO
mas não funciona quando tento salvar o PID em uma variável bash e depois passo para o awk
my_machine:~$ mypid=$(sudo lsof -ti :30001)
my_machine:~$ echo $mypid
616
my_machine:~$ ps aux | awk '{if ($2 == "$mypid") print $0;}'
my_machine:~$
my_machine:~$ ps aux | awk -v mypid="$mypid" '{if ($2 == "mypid") print $0;}'
my_machine:~$
my_machine:~$ ps aux | awk -v mypid="616" '{if ($2 == "mypid") print $0;}'
my_machine:~$
No terminal do Ubuntu , o comando para abrir uma nova aba do terminal é
gnome-terminal --tab
Qual é o equivalente para Terminator ?
eu tentei
terminator --tab
e
gnome-terminal -T
mas esses comandos não funcionam.
Eu quero reinstalar o Ubuntu em um PC (vamos chamá-lo de PC_1) executando o Ubuntu Server OS (sem GUI) que não pode se conectar à Internet.
Para fazer isso, baixei o Ubuntu 18.04 iso de outro PC, mas não tenho certeza do que fazer.
Eu pisquei o iso em uma unidade USB com Balena Etcher , mas não sei como continuar.
Acho que devo conectar a unidade USB ao PC_1, localizar a unidade USB e executar algo no prompt de comando para informar ao PC para instalar o Ubuntu OS a partir da unidade USB ....
Quais comandos devo executar?
Estou tentando redimensionar (de 20 para 270 GB) o disco rígido de um sistema operacional Ubuntu rodando dentro de uma VM (Virtualbox) que roda no Windows 10.
Seguindo as instruções neste thread , desliguei minha VM e executei no meu Windows 10 Powershell:
C:\Users\Bob> C:\"Program Files"\Oracle\VirtualBox\VBoxManage.exe modifyhd C:\Users\Bob\"VirtualBox VMs"\Tommaso_Ubuntu01\Tommaso_Ubuntu01.vdi --resize 270000
e eu consigo sussessfully
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
para que, quando verifico as configurações da minha VM no painel do Virtualbox, veja:
então eu continuo seguindo os passos do thread: eu inicio minha VM, vou para
Aplicativos (quadrado de 9 pontos na barra inferior) > Discos > Disco Rígido (barra lateral esquerda)
então
selecione Partition 3
(a partição que eu dimensionei anteriormente para 21)> botão de engrenagem> redimensionar> defina a partição para 270 GB
mas eu recebo:
Erro ao redimensionar partição
erro ao redimensionar partição /dev/sda3: Falha ao dimensionar a partição no dispositivo '/-dev/sda/' (Não é possível satisfazer todas as restrições na partição.) (udisk-error-quark,0)
Qual é o problema? Como posso resolvê-lo?
Estou trabalhando no Ubuntu rodando dentro de uma VM feita do Virtualbox no Windows 10.
Ao procurar uma maneira de selecionar todo o texto em um terminal Terminator, chego a seguir este thread AU , indicando como instalar Thierry Ds copyall-Terminator-Plugin .
O plugin copyall.py foi modificado e transformado por Enno Gröper em um plugin selectall.py , disponível aqui no Github .
Tentei refazer as etapas mencionadas no tópico AU, mas não consigo fazer meu plugin funcionar:
Do meu terminador:
cd /usr/share/terminator/terminatorlib/
sudo mkdir plugins
cd plugins
sudo vim selectall.py
Eu colo lá o código de https://github.com/egroeper/terminator-plugins/blob/master/selectall.py
Saia e salve e verifique se o texto está efetivamente salvo lá
Reiniciar o Exterminador
Clique com o botão direito do mouse em Terminator > preferências > plugin
Mas o novo plugin não está lá.
Como posso fazê-lo aparecer e funcionar?
--- ATUALIZAR ---
Para dar um pouco mais de contexto, estou colando aqui:
ls -al /usr/share/terminator/terminatorlib/plugins/
insira a descrição da imagem aqui
insira a descrição da imagem aqui