Buscar

Do the following commands extract the names of all employees in the sales department from the funcionarios.txt file? grep "vendas" funcionarios.tx...

Do the following commands extract the names of all employees in the sales department from the funcionarios.txt file?

grep "vendas" funcionarios.txt
egrep "vendas" " funcionarios.txt | wc -l
grep "^"vendas" " funcionarios.txt|cut -d":" -f1
egrep "^"vendas" " funcionarios.txt | cut -d":" -f2
cat funcionarios.txt |grep "vendas" |álter
All commands extract the names of all employees in the sales department from the funcionarios.txt file.
Only the first and third commands extract the names of all employees in the sales department from the funcionarios.txt file.
Only the third and fourth commands extract the names of all employees in the sales department from the funcionarios.txt file.
None of the commands extract the names of all employees in the sales department from the funcionarios.txt file.

Essa pergunta também está no material:

8 exercício
4 pág.

Programação para Servidores Universidade Estácio de SáUniversidade Estácio de Sá

💡 1 Resposta

User badge image

Ed Verified user icon

Apenas o primeiro e o terceiro comandos extraem os nomes de todos os funcionários do departamento de vendas do arquivo funcionarios.txt.

0
Dislike0

✏️ Responder

SetasNegritoItálicoSublinhadoTachadoCitaçãoCódigoLista numeradaLista com marcadoresSubscritoSobrescritoDiminuir recuoAumentar recuoCor da fonteCor de fundoAlinhamentoLimparInserir linkImagemFórmula

Para escrever sua resposta aqui, entre ou crie uma conta

User badge image

Outros materiais