Try  free

Edição de Arquivos com o Vi

Aprenda a editar arquivos de texto ulizando o editor Vi, um dos comandos essenciais para administradores de sistemas Linux.

Click here to study and view all flashcards!
<div style='margin-bottom: 20px;'> <div style="margin-bottom: 10px; background-color: #f2f2f2; border-radius: 1rem; padding: 10px 20px;"> <h2 style="font-weight: bold; margin-bottom: 3px; font-size: 1.5rem;">Qual comando no Vi apaga o caractere sob o cursor?</h2> <p style="font-weight: normal; font-size: 1.2rem;">x</p> </div> <div style="margin-bottom: 10px; background-color: #f2f2f2; border-radius: 1rem; padding: 10px 20px;"> <h2 style="font-weight: bold; margin-bottom: 3px; font-size: 1.5rem;">Como se exclui uma palavra a partir da posição atual do cursor no Vi?</h2> <p style="font-weight: normal; font-size: 1.2rem;">dw</p> </div> <div style="margin-bottom: 10px; background-color: #f2f2f2; border-radius: 1rem; padding: 10px 20px;"> <h2 style="font-weight: bold; margin-bottom: 3px; font-size: 1.5rem;">Qual comando no Vi exclui a linha inteira onde o cursor está posicionado?</h2> <p style="font-weight: normal; font-size: 1.2rem;">dd</p> </div> <div style="margin-bottom: 10px; background-color: #f2f2f2; border-radius: 1rem; padding: 10px 20px;"> <h2 style="font-weight: bold; margin-bottom: 3px; font-size: 1.5rem;">Como se exclui todo o conteúdo do cursor até o final da linha no Vi?</h2> <p style="font-weight: normal; font-size: 1.2rem;">D</p> </div> <div style="margin-bottom: 10px; background-color: #f2f2f2; border-radius: 1rem; padding: 10px 20px;"> <h2 style="font-weight: bold; margin-bottom: 3px; font-size: 1.5rem;">Qual versão melhorada do vi é mencionada e o que ela adiciona ao original?</h2> <p style="font-weight: normal; font-size: 1.2rem;">O vim (Vi Improved), que é retroativamente compatível com o vi e às vezes possui um modo gráfico (gvim) disponível.</p> </div> <div style="margin-bottom: 10px; background-color: #f2f2f2; border-radius: 1rem; padding: 10px 20px;"> <h2 style="font-weight: bold; margin-bottom: 3px; font-size: 1.5rem;">Como se cola o conteúdo armazenado no buffer na posição atual do cursor no Vi?</h2> <p style="font-weight: normal; font-size: 1.2rem;">p</p> </div> <div style="margin-bottom: 10px; background-color: #f2f2f2; border-radius: 1rem; padding: 10px 20px;"> <h2 style="font-weight: bold; margin-bottom: 3px; font-size: 1.5rem;">Qual comando no Vi refaz as últimas ações desfeitas?</h2> <p style="font-weight: normal; font-size: 1.2rem;">CTRL + R</p> </div> <div style="margin-bottom: 10px; background-color: #f2f2f2; border-radius: 1rem; padding: 10px 20px;"> <h2 style="font-weight: bold; margin-bottom: 3px; font-size: 1.5rem;">Como o comando '3w' afeta a movimentação do cursor no vi?</h2> <p style="font-weight: normal; font-size: 1.2rem;">Move o cursor 3 palavras adiante.</p> </div> <div style="margin-bottom: 10px; background-color: #f2f2f2; border-radius: 1rem; padding: 10px 20px;"> <h2 style="font-weight: bold; margin-bottom: 3px; font-size: 1.5rem;">Qual comando inicia a pesquisa da posição atual do cursor para baixo no arquivo no vi?</h2> <p style="font-weight: normal; font-size: 1.2rem;">/</p> </div> <div style="margin-bottom: 10px; background-color: #f2f2f2; border-radius: 1rem; padding: 10px 20px;"> <h2 style="font-weight: bold; margin-bottom: 3px; font-size: 1.5rem;">Como se copia um conjunto de linhas usando o conceito de marca no Vi?</h2> <p style="font-weight: normal; font-size: 1.2rem;">mp, mover o cursor, y'p</p> </div> <div style="margin-bottom: 10px; background-color: #f2f2f2; border-radius: 1rem; padding: 10px 20px;"> <h2 style="font-weight: bold; margin-bottom: 3px; font-size: 1.5rem;">Por que o editor vi é considerado essencial para administradores de sistemas Linux?</h2> <p style="font-weight: normal; font-size: 1.2rem;">Porque editar arquivos de texto (configuração, scripts, listagens, etc) faz parte do dia-a-dia de um administrador de sistemas Linux.</p> </div> <div style="margin-bottom: 10px; background-color: #f2f2f2; border-radius: 1rem; padding: 10px 20px;"> <h2 style="font-weight: bold; margin-bottom: 3px; font-size: 1.5rem;">Como se copia a palavra para o buffer no Vi?</h2> <p style="font-weight: normal; font-size: 1.2rem;">yw</p> </div> <div style="margin-bottom: 10px; background-color: #f2f2f2; border-radius: 1rem; padding: 10px 20px;"> <h2 style="font-weight: bold; margin-bottom: 3px; font-size: 1.5rem;">Qual comando no Vi copia a linha inteira para o buffer?</h2> <p style="font-weight: normal; font-size: 1.2rem;">yy</p> </div> <div style="margin-bottom: 10px; background-color: #f2f2f2; border-radius: 1rem; padding: 10px 20px;"> <h2 style="font-weight: bold; margin-bottom: 3px; font-size: 1.5rem;">Qual é o objetivo principal do tópico 103.8 no contexto do Linux Professional Institute?</h2> <p style="font-weight: normal; font-size: 1.2rem;">Editar arquivos de texto utilizando o vi.</p> </div> <div style="margin-bottom: 10px; background-color: #f2f2f2; border-radius: 1rem; padding: 10px 20px;"> <h2 style="font-weight: bold; margin-bottom: 3px; font-size: 1.5rem;">Qual comando no Vi exclui a palavra atual e entra no modo de edição?</h2> <p style="font-weight: normal; font-size: 1.2rem;">cw</p> </div> <div style="margin-bottom: 10px; background-color: #f2f2f2; border-radius: 1rem; padding: 10px 20px;"> <h2 style="font-weight: bold; margin-bottom: 3px; font-size: 1.5rem;">Quais são as duas maneiras principais de sair do vi mencionadas no texto?</h2> <p style="font-weight: normal; font-size: 1.2rem;">:q! para fechar imediatamente o vi e ignorar todas as alterações não salvas, e ZZ para salvar o arquivo modificado e então fechar o editor.</p> </div> <div style="margin-bottom: 10px; background-color: #f2f2f2; border-radius: 1rem; padding: 10px 20px;"> <h2 style="font-weight: bold; margin-bottom: 3px; font-size: 1.5rem;">Qual comando no Vi insere uma numeração de identificação das linhas no arquivo?</h2> <p style="font-weight: normal; font-size: 1.2rem;">:set nu</p> </div> <div style="margin-bottom: 10px; background-color: #f2f2f2; border-radius: 1rem; padding: 10px 20px;"> <h2 style="font-weight: bold; margin-bottom: 3px; font-size: 1.5rem;">Como se desabilita a numeração no arquivo no Vi?</h2> <p style="font-weight: normal; font-size: 1.2rem;">:set nonu</p> </div> <div style="margin-bottom: 10px; background-color: #f2f2f2; border-radius: 1rem; padding: 10px 20px;"> <h2 style="font-weight: bold; margin-bottom: 3px; font-size: 1.5rem;">Qual comando no vi inicia o modo de edição no início da linha atual?</h2> <p style="font-weight: normal; font-size: 1.2rem;">I</p> </div> <div style="margin-bottom: 10px; background-color: #f2f2f2; border-radius: 1rem; padding: 10px 20px;"> <h2 style="font-weight: bold; margin-bottom: 3px; font-size: 1.5rem;">Qual comando no Vi habilita a Sintaxe de coloração de instruções?</h2> <p style="font-weight: normal; font-size: 1.2rem;">:syntax on</p> </div> <div style="margin-bottom: 10px; background-color: #f2f2f2; border-radius: 1rem; padding: 10px 20px;"> <h2 style="font-weight: bold; margin-bottom: 3px; font-size: 1.5rem;">Qual comando no Vi é utilizado para forçar a saída de um arquivo de texto sem salvar as mudanças?</h2> <p style="font-weight: normal; font-size: 1.2rem;">:q!</p> </div> </div>
Flashcards From Other Users
Atendimento de Urgência e Emergência
O Direito no Mundo da Cultura
Teoria Geral do Direito
Estudo do Direito: Funções Sociais e Filosofia
Indicadores de Saúde e Mortalidade
Relações Trabalhistas e Sindicais
HomeFeaturesExamsPrivacyTerms

© 2024 Slay School. All rights reserved.