Enviado em 15/01/2019 - 22:48h
Olá pessoal.#!/bin/bash # # try all word in words.txt for word in $(cat words.txt); do # try to decrypt with word echo "${word}" | gpg --passphrase-fd 0 --no-tty --decrypt somegpgfile.gpg --output somegpgfile; # if decrypt is successfull; stop if [ $? -eq 0 ]; then echo "GPG passphrase is: ${word}"; exit 0; fi done; exit 1;
Enviado em 15/01/2019 - 23:03h
Não sou muito entendedor de shell, mas o que eu entendo sobre o ponto e virgula é.Enviado em 15/01/2019 - 23:37h
Ola,Enviado em 16/01/2019 - 09:28h
#!/bin/bash # # try all word in words.txt for word in $(cat words.txt); do # try to decrypt with word echo "${word}" | gpg --passphrase-fd 0 --no-tty --decrypt somegpgfile.gpg --output somegpgfile; # if decrypt is successfull; stop if [ $? -eq 0 ]; then echo "GPG passphrase is: ${word}"; exit 0; fi done; exit 1;
echo paulo > nome.txt wc -c nome.txt
echo paulo > nome.txt ; wc -c nome.txt
help if
#!/bin/bash ls -l > /dev/null if [ $? -eq 0 ] then echo "texto" exit 0 fi
#!/bin/bash ls -l > /dev/null if [ $? -eq 0 ] ; then echo "texto" exit 0 fi
Como compartilhar a tela do Ubuntu com uma Smart TV (LG, Samsung, etc.)
Descritores de Arquivos e Swappiness
tux-gpt - Assistente de IA para o Terminal
Instalação e configuração do Chrony
Programa IRPF - Guia de Instalação e Resolução de alguns Problemas
Como instalar no Linux Jogos da Steam só para Windows
Instalando o Team Viewer no Debian Trixie - problema no Policykit
O Que Fazer Após Instalar Ubuntu 25.04
Erro ao atualizar o archlinux [RESOLVIDO] (2)
Erro ao executar o comando para dar um get email (0)