LPI 101 - Comandos GNU/Linux 4- Marcus Vinicius Braga Alcantara

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Viniciusalcantar
V
Viniciusalcantar
Community Contributor
Quizzes Created: 11 | Total Attempts: 7,534
| Attempts: 438 | Questions: 66
Please wait...
Question 1 / 66
0 %
0/100
Score 0/100
1. Ao editar um arquivo com vi, você percebe que você está alterando o arquivo errado. Qual seqüência de comando vi lhe permitirá sair sem salvar as alterações?

Explanation

The command ":q!" in vi allows you to exit the file without saving any changes.

Submit
Please wait...
About This Quiz
LPI 101 - Comandos GNU/Linux 4- Marcus Vinicius Braga Alcantara - Quiz

.

Tell us your name to personalize your report, certificate & get on the leaderboard!
2. Como você pode ler os conteúdos da variável PATH no bash shell?

Explanation

To read the contents of the variable PATH in the bash shell, you can use the command "echo $PATH". The "echo" command is used to display the value of a variable, and the "$" symbol is used to access the value of a variable. Therefore, "echo $PATH" will display the contents of the PATH variable in the bash shell.

Submit
3. Qual comando vi irá alterar os modos para que o texto possa ser digitado, digitando no teclado?

Explanation

The correct answer is "i". In vi, the "i" command is used to switch to insert mode, allowing the user to type and edit text using the keyboard.

Submit
4. Qual o programa que interpreta suas ações e comandos no sistema operacional?

Explanation

A shell is a program that interprets user actions and commands in the operating system. It provides a command-line interface where users can interact with the system by typing commands. The shell takes these commands and executes them, allowing users to perform various tasks and control the system. Unlike utilities and applications, which are specific programs designed for particular functions, the shell acts as an intermediary between the user and the operating system, enabling them to access and manipulate system resources.

Submit
5. Qual o comando você usaria para determinar qual o shell você está usando?

Explanation

The correct answer is "echo $SHELL". This command will print the value of the SHELL environment variable, which typically contains the path to the current shell being used.

Submit
6. A prioridade de qualquer processo pode variar de -20 a ________ . (Fornecer apenas o valor numérico).

Explanation

The question asks for the range of priority values for a process, which can vary from -20 to 19. The "+19" in the answer suggests that the priority value can also be positive, in addition to being negative or zero.

Submit
7. Qual é o resultado da saída do comando a seguir; echo "Hello World" | tr -d aieou

Explanation

The command "echo "Hello World" | tr -d aieou" is using the "tr" command to delete all occurrences of the letters "a", "i", "e", "o", and "u" from the input string "Hello World". Therefore, the resulting output is "HllWrld".

Submit
8. Qual comando embutido no shell bash é utilizado para visualizar o histórico de comandos?

Explanation

The correct answer is "history." In the bash shell, the "history" command is used to view the command history. It displays a list of previously executed commands, along with their line numbers. This command is helpful for recalling and reusing past commands, saving time and effort.

Submit
9. Você deseja repetir o comando de número 3 em seu histórico de comandos. Como você faria isso?

Explanation

To repeat the command number 3 in the command history, you would use "!3". This is a shorthand notation that allows you to quickly rerun a specific command without having to retype it.

Submit
10. Qual tecla você pressiona para mudar para o modo normal no vi ?

Explanation

Pressing the Esc key in vi switches from any other mode (such as insert or command mode) back to the normal mode.

Submit
11. Qual comando irá exibir todas as tarefas em segundo plano em execução no shell atual ?

Explanation

The correct answer is "jobs". The "jobs" command is used to display all the jobs or tasks that are running in the background in the current shell session. It provides information such as the job ID and status of each task.

Submit
12. Você tem dois scripts, foo e bar. Você deseja que o bar seja executado somente se foo retornar uma saída com status igual a 0. Selecione a alternativa correta.

Explanation

The correct answer is "foo && bar". This is because the "&&" operator in shell scripting means "AND". So, the command "foo && bar" will execute the command "foo" first, and only if it returns a status of 0 (indicating success), the command "bar" will be executed.

Submit
13. Em conformidade com o FHS, em qual diretório as páginas de manuais (man pages) são encontradas?

Explanation

According to the FHS (Filesystem Hierarchy Standard), the man pages are typically found in the "/usr/share/man" directory. This directory is commonly used to store the system's documentation, including the manual pages. It is a standard location for man pages in most Linux distributions. Other directories mentioned in the options, such as "/opt/man", "/usr/doc/", "/var/pkg/man", and "/var/man", are not the standard locations for man pages as per the FHS.

Submit
14. A sua máquina Linux tem 2 monitores. Seu segundo monitor está configurado como a segunda tela da primeira apresentação. Se você quer que o programa "netscape" seja exibido em seu segundo monitor, Qual comando você deve usar antes de iniciar o Netscape?

Explanation

The correct answer is "export set DISPLAY=:0:1; netscape". This command sets the display variable to ":0:1", which refers to the second monitor. By doing this, the program "netscape" will be displayed on the second monitor.

Submit
15. Você quer executar uma série de comandos de uma só vez. Qual a maneira mais rápida de fazer isto?

Explanation

Separating the commands with a semicolon (;) allows you to execute multiple commands in a single line, saving time and effort. By pressing enter after entering the commands, each command will be executed sequentially. This method is quicker than typing each command individually and pressing enter after each one or creating a script to execute the commands.

Submit
16. Qual das respostas seguintes cria uma variável de ambiente VAR1 que possa estar presente em um processo bash filho?

Explanation

This answer correctly creates a variable VAR1 with the value "fail" and exports it so that it can be accessed by a child bash process.

Submit
17. Qual comando history (Com parâmetro) irá limpar todo o histórico de comandos ?

Explanation

The command "history -c" is used to clear the entire command history. By running this command, all previously executed commands will be removed from the history file, effectively erasing the entire command history.

Submit
18. Qual é o valor nice máximo que um usuário regular pode atribuir a um processo com o comando durante a execução de um novo processo ?

Explanation

A regular user can assign a maximum nice value of 19 to a process during the execution of a new process. The nice value is used in Unix-like operating systems to prioritize the execution of processes. A lower nice value indicates a higher priority for the process. Regular users typically have limited privileges and cannot assign extremely high priority to processes, hence the maximum value they can assign is 19.

Submit
19. Qual variável ambiental indica o caminho do seu diretório HOME?

Explanation

The variable "HOME" indicates the path to the user's home directory in the environment. This directory is typically the default location where the user's personal files and settings are stored.

Submit
20. Qual é a ação padrão do comando split em um arquivo de entrada ?

Explanation

The correct answer is "Ele vai quebrar o arquivo em novos arquivos de 1000 linhas." This means that the split command will divide the file into new files, with each file containing 1000 lines.

Submit
21. Que sinal é enviado pelo comando kill por padrão?

Explanation

The correct answer is TERM(15) because the command "kill" by default sends a termination signal (SIGTERM) to a process. This signal instructs the process to gracefully terminate and clean up its resources before exiting. The other signals mentioned (HUP, QUIT, KILL) have different purposes, but they are not the default signal sent by the "kill" command.

Submit
22. Qual é o propósito do comando interno do bash chamado export ?

Explanation

O comando interno do bash chamado export é usado para definir variáveis de ambiente para aplicações. Isso significa que as variáveis definidas com o comando export estarão disponíveis para todos os processos que são executados a partir do shell atual. Isso é útil para configurar variáveis de ambiente que são necessárias para que um programa ou script funcione corretamente.

Submit
23. Que comando será executado, cmd1 seguido por cmd2, independentemente do status de saída cmd1?

Explanation

The correct answer is "cmd1 ; cmd2". The semicolon (;) is a command separator in the shell, which means that both cmd1 and cmd2 will be executed regardless of the exit status of cmd1. This allows for the sequential execution of multiple commands in the shell.

Submit
24. Qual dos seguintes comandos podem ser usados ​​para criar uma mídia de armazenamento USB de uma imagem de disco?

Explanation

The command "dd" can be used to create a USB storage media from a disk image. "dd" is a command-line utility in Unix-like operating systems that is used to convert and copy files. In this case, it can be used to create a bootable USB drive by copying the disk image onto the USB drive bit by bit.

Submit
25. Utilizando os conceitos de expressões regulares, descreva um metacharacter.

Explanation

Metacharacters are special control characters used in regular expressions. They have special meaning and are used to define patterns and match specific characters or groups of characters in a string.

Submit
26. O que é descrito pelas variáveis PS1 e PS2?

Explanation

As per the given options, the variables PS1 and PS2 are described as the normal prompt and extended prompt. This means that these variables control the appearance and behavior of the command prompt in a Unix-like operating system. The PS1 variable defines the prompt displayed when waiting for a new command, while the PS2 variable defines the prompt displayed when a command is continued onto the next line.

Submit
27. Qual dos seguintes comandos mata o processo com o PID 123, mas permite "limpar" antes de sair?

Explanation

The correct answer is "kill -TERM 123". The "-TERM" option sends a termination signal to the process with PID 123, allowing it to clean up any resources before exiting. The other options, "-PIPE", "-KILL", and "-STOP", send different signals that do not provide the process with the opportunity to clean up before termination.

Submit
28. Você fez telnet em vários servidores ao mesmo tempo. Durante o dia você se sente perdido em qual sessão está conectado. Qual o comando no seu .profile resolveria este problema deixando claro em qual o servidor você está conectado?

Explanation

The correct answer is PS1="\h: \w>". This command sets the prompt in the .profile file to display the hostname (\h) and the current working directory (\w). This will help the user easily identify the server they are connected to.

Submit
29. No editor vi, qual dos seguintes comandos irá copiar a linha atual no buffer vi ?

Explanation

The command "yy" in vi will copy the current line into the vi buffer.

Submit
30. Em uma estrutura de diretório aninhada, qual opção de linha de comando seria usado para restringir o comando find para procurar por um determinado número de subdiretórios ?

Explanation

The correct answer is "-maxdepth". This option is used in the command "find" to restrict the search to a specific number of subdirectories. By specifying a number after "-maxdepth", the command will only search for files or directories within that number of levels deep from the starting directory.

Submit
31. Qual variável de ambiente guarda a lista de diretórios que o shell usa para encontrar arquivos executáveis?

Explanation

The correct answer is "PATH". The PATH environment variable stores a list of directories that the shell uses to search for executable files. When a command is entered in the shell, it checks each directory in the PATH variable in order to find the corresponding executable file. This allows users to run commands without specifying the full file path.

Submit
32. Qual é o efeito sobre o comando grep quando a opção -v é usada ?

Explanation

When the -v option is used with the grep command, it inverts the matching to select non-matching lines. In other words, it will display all the lines that do not contain the specified pattern or expression. This can be useful when you want to exclude certain lines from the output.

Submit
33. Qual dos seguintes comandos irá substituir todas as ocorrências da palavra list por LIST no arquivo myfile.txt e imprimir os resultados na tela ?

Explanation

The correct answer is "sed -e "s/list/LIST/" myfile.txt". This command uses the sed utility to search for the word "list" in the file myfile.txt and replace all occurrences with "LIST". The -e option specifies the script to be executed, and "s/" is the substitute command in sed.

Submit
34. O que acontece após a emissão do comando vi sem quaisquer parâmetros adicionais ?

Explanation

After issuing the "vi" command without any additional parameters, it starts in command mode and opens a new empty file.

Submit
35. Qual dos seguintes comandos define uma variável chamada TEST com o conteúdo FOO ?

Explanation

The correct answer is "TEST="FOO"". This is the correct command to define a variable called TEST with the content FOO. The other options either use incorrect syntax or do not follow the correct format for defining a variable.

Submit
36. Você está digitando uma linha de comando grande e complexa e você alcançou o fim da tela. Você quer continuar digitando, mas na linha abaixo. Quais as teclas que permitem isso?

Explanation

The combination of the "/" key and the "Enter" key allows the user to continue typing on a new line below the current line.

Submit
37. Qual dos seguintes comandos irá encontrar a string foo no arquivo file1.txt, independentemente de foo estar em letras maiúsculas ou minúsculas ?

Explanation

The correct answer is "cat file1.txt | grep -i foo". This command will use the "cat" command to display the contents of "file1.txt" and then pipe it to the "grep" command with the "-i" flag, which will perform a case-insensitive search for the string "foo".

Submit
38. Imediatamente após a exclusão de 3 linhas de texto no vi e movendo o cursor para uma linha diferente, qual comando irá inserir o conteúdo excluído abaixo da linha atual?

Explanation

After deleting 3 lines of text in vi and moving the cursor to a different line, the "p" command (lowercase) will insert the deleted content below the current line.

Submit
39. Quando no modo normal no vi, que comando pode ser usado para iniciar uma busca reversa do texto?

Explanation

In the normal mode of the vi editor, the "?" command can be used to initiate a reverse search for text. This command allows the user to search for a specific text pattern in the backward direction from the current cursor position.

Submit
40. Quando devo usar grep -F ou o comando fgrep para pesquisar o conteúdo de arquivos de texto ?

Explanation

The correct answer states that grep -F or fgrep should be used when the text being searched does not contain any regular expression patterns. This means that if the search does not require any complex pattern matching, using grep -F or fgrep can be more efficient and faster than using regular grep. These commands are specifically designed for simple string matching without the need for regular expressions.

Submit
41. Qual dos seguintes comandos determina o tipo de um arquivo usando um arquivo de banco de dados de definição que contém informações sobre todos os tipos de arquivos comuns ?

Explanation

O comando "file" determina o tipo de um arquivo usando um arquivo de banco de dados de definição que contém informações sobre todos os tipos de arquivos comuns.

Submit
42. Qual dos seguintes comandos irá enviar a saída do programa myapp tanto para a saída padrão (stdout) e para o arquivo file1.log ?

Explanation

The command "myapp | tee file1.log" will send the output of the program "myapp" to both the standard output (stdout) and the file "file1.log".

Submit
43. Qual a variável de ambiente é usada para exibir remotamente em outra máquina uma sessão X sua?

Explanation

The correct answer is DISPLAY. The DISPLAY variable is used to specify the remote machine and display number where X applications should be displayed. It is commonly used in Unix-like operating systems to enable X11 forwarding, allowing users to run graphical applications on a remote machine and have them displayed on their local machine.

Submit
44. No bash shell, executar o comando !! tem o mesmo efeito de qual dos seguintes comandos?

Explanation

The command !! in the bash shell is used to execute the previous command. Similarly, Ctrl-P is a keyboard shortcut that is used to navigate to the previous command in the command history. Therefore, executing Ctrl-P and Enter will have the same effect as executing !!, which is to run the previous command.

Submit
45. Qual dos seguintes comandos é usado para alterar as opções e os parâmetros posicionais para uma bash em execução?

Explanation

The "set" command is used to alter the options and positional parameters for a running bash. It allows the user to change various settings and configurations within the bash environment.

Submit
46. Você digitou o seguinte comando "ls -al /home/hadden". Quais teclas podem ser utilizadas para retirar o espaço entre a barra -/- e a palavra -hadden- sem redigitar o comando?

Explanation

The answer is "Esc-b, Del". Pressing the Esc key followed by the b key will move the cursor back one word. Then, pressing the Del key will delete the space between the slash and the word "hadden" without having to retype the whole command.

Submit
47. Qual dos seguintes sinais são enviados para um processo quando a combinação de teclas CTRL+C é pressionada no teclado?

Explanation

When the combination of keys CTRL+C is pressed on the keyboard, the signal SIGINT is sent to a process. This signal is used to interrupt the process and request it to terminate gracefully. It allows the process to clean up resources and perform any necessary actions before exiting.

Submit
48. Ao ler as páginas man, um monte de caracteres extras são mostrados na tela. Qual dos seguintes comandos podem ajudar a lidar com este problema?

Explanation

The command "more" can help deal with the problem of extra characters being displayed on the screen when reading the man pages. The "more" command allows the user to view the output one page at a time, pausing after each page, which helps in managing the excessive characters and makes it easier to read the content.

Submit
49. Depois de digitar um comando, você recebe uma mensagem de erro indicando sintaxe incorreta. Quem é o autor da mensagem?

Explanation

The correct answer is "Comando ou Programa". When you type a command, it is the command or program itself that is responsible for checking the syntax and providing an error message if it is incorrect. The shell, operating system, and kernel are all components of the system that facilitate the execution of the command, but they are not directly responsible for generating the error message.

Submit
50. Qual das seguintes é uma limitação do comando cut ?

Explanation

The correct answer is that the cut command cannot reorder fields. This means that it can only select the output based on the position of the fields and cannot rearrange them in a different order.

Submit
51. Que sinal está ausente no comando a seguir; "killall -s _______ daemon" que é comumente utilizado para instruir um daemon reinicializar-se, incluindo a leitura de arquivos de configuração ?

Explanation

The correct answer is "HUP". In the command "killall -s HUP daemon", the "-s" option is used to specify the signal to send to the process. The signal "HUP" (Hang Up) is commonly used to instruct a daemon to restart itself, including reading configuration files. "SIGHUP" is the signal name for "HUP", and "1" is the signal number for "HUP".

Submit
52. Qual opção para o comando tee irá causar a saída para ser concatenado no fim do ficheiro de saída em vez de substituir o conteúdo do arquivo existente?

Explanation

The option "-a" for the tee command will cause the output to be appended to the end of the output file instead of replacing the content of the existing file.

Submit
53. Um usuário acidentalmente cria o subdiretório \dir no seu diretório home. Qual dos seguintes comandos irá remover esse diretório ?

Explanation

The correct answer is "rmdir ~/\\dir". This command will remove the subdirectory named "dir" from the user's home directory. The tilde (~) represents the user's home directory, and the backslash (\) is used to escape the special character, so that it is interpreted as part of the directory name.

Submit
54. Enquanto estiver usando o editor vi, você pretende avançar uma página. Você deve pressionar a tecla Control e:

Explanation

No editor vi, para avançar uma página, você deve pressionar a tecla Control e a tecla F.

Submit
55. Qual sinal é enviado para um processo em suspensão, a fim de ter que recomeçar a execução ?

Explanation

The signal "CONT" is sent to a suspended process in order to restart its execution.

Submit
56. Qual o arquivo que armazena o histórico de comandos do shell ?

Explanation

The correct answer is ".bash_history". This file is responsible for storing the history of commands executed in the shell. It allows users to easily recall and reuse previously executed commands, making it a handy feature for productivity and troubleshooting purposes. By default, the .bash_history file is located in the user's home directory and can be accessed and edited using a text editor or the command line.

Submit
57. Na seguinte linha de comando; "foo < bar | foobar". Qual das seguintes afirmações é correta ?

Explanation

The given command "foo

Submit
58. Qual dos seguintes comandos substitui o bootloader localizado em /dev/sda sem substituir a tabela de partição ou quaisquer dados que lhe segue ?

Explanation

The correct answer is "dd if=/dev/zero of=/dev/sda bs=440 count=1". This command uses the dd command to copy zeros from the /dev/zero device to the /dev/sda device. The "if" parameter specifies the input file as /dev/zero, and the "of" parameter specifies the output file as /dev/sda. The "bs" parameter specifies the block size as 440 bytes, and the "count" parameter specifies that only 1 block should be copied. This command replaces the bootloader located in /dev/sda without affecting the partition table or any data following it.

Submit
59. Em relação ao comando; nice -5 /usr/bin/prog

Explanation

The correct answer is "/usr/bin/prog é executado com nice level 5." In the given command "nice -5 /usr/bin/prog", the option "-5" represents the nice level, which is a value ranging from -20 to 19. A lower nice level value indicates a higher priority for the process. Therefore, a nice level of 5 means that the process "/usr/bin/prog" is executed with a higher priority.

Submit
60. Quando canalizando a saída do comando find para o comando xargs, que opção é útil para encontrar nomes de arquivos que possuem espaços entre eles ?

Explanation

The option "-print0" is useful when channeling the output of the "find" command to the "xargs" command to find file names that have spaces between them. This option separates the file names with a null character instead of a space, allowing the "xargs" command to correctly interpret the file names with spaces.

Submit
61. A partir de um shell Bash, qual dos seguintes comandos executa diretamente as instruções do arquivo /usr/local/bin/runme.sh sem iniciar um subshell ? (Por favor, selecione duas respostas).

Explanation

The command "source /usr/local/bin/runme.sh" executes the instructions of the file "/usr/local/bin/runme.sh" without starting a subshell. The "source" command is used to read and execute commands from a file in the current shell environment. Similarly, the command "./usr/local/bin/runme.sh" also executes the instructions of the file "/usr/local/bin/runme.sh" without starting a subshell. The "./" prefix specifies that the file is in the current directory.

Submit
62. Suponha que você tenha executado o seguinte comando: cp /etc/passwd /home/myuser , utilizando o histórico de comandos, como você faria para copiar o arquivo /etc/group para o diretório /home/myuser apenas substituindo a ocorrência do argumento passado no comando anterior?

Explanation

The correct answer is "^passwd^group" because using the caret (^) symbol followed by the old and new strings, it allows you to replace the first occurrence of the old string with the new string in the previous command. In this case, it will replace "passwd" with "group" in the previous command "cp /etc/passwd /home/myuser".

Submit
63. Qual dos seguintes comandos irá reduzir todos os espaços consecutivos para um único espaço?

Explanation

The correct answer is "tr -s ' ' b.txt". This command uses the "tr" command to squeeze multiple consecutive spaces into a single space. The "-s" option tells "tr" to squeeze repeated characters, and the ' ' specifies the character to be squeezed, which in this case is a space. The command takes input from the file "a.txt" and redirects the output to the file "b.txt".

Submit
64. Qual o significado do símbolo "+" na seguinte expressão regular grep; grep '^d[aei]\+d$' /usr/share/dict/words

Explanation

The correct answer is "Símbolo literal '+'" because in the given regular expression, the symbol '+' is not being used as a quantifier to indicate repetition. Instead, it is being treated as a literal character that needs to be matched exactly as it appears.

Submit
65. Ao editar um arquivo usando o vi, o arquivo muda devido a outro processo. Sem sair do vi, como pode o arquivo ser reaberto para edição com o novo conteúdo ?

Explanation

The correct answer is ":e". This command in the vi editor allows the user to reopen the current file for editing. It essentially reloads the file, discarding any unsaved changes and displaying the most recent version of the file, including any changes made by another process.

Submit
66. O que é que o símbolo "?" significa na seguinte expressão regular grep; grep '^d[aei]\?d$' /usr/share/dict/words

Explanation

The symbol "?" in the given regular expression "grep 'd[aei]?d$' /usr/share/dict/words" means that the character immediately preceding it, which is the set of characters [aei], can occur zero or one time. In other words, it allows for the possibility of that character being present or not in the matched string.

Submit
View My Results

Quiz Review Timeline (Updated): Jul 22, 2024 +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Jul 22, 2024
    Quiz Edited by
    ProProfs Editorial Team
  • Mar 14, 2017
    Quiz Created by
    Viniciusalcantar
Cancel
  • All
    All (66)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
Ao editar um arquivo com vi, você percebe que você...
Como você pode ler os conteúdos da variável PATH...
Qual comando vi irá alterar os modos para que o texto possa ser...
Qual o programa que interpreta suas ações e comandos no...
Qual o comando você usaria para determinar qual o shell...
A prioridade de qualquer processo pode variar de -20 a ________ ....
Qual é o resultado da saída do comando a...
Qual comando embutido no shell bash é utilizado para visualizar...
Você deseja repetir o comando de número 3 em seu...
Qual tecla você pressiona para mudar para o modo normal no vi ?
Qual comando irá exibir todas as tarefas em segundo plano em...
Você tem dois scripts, foo e bar. Você deseja que o bar...
Em conformidade com o FHS, em qual diretório as páginas...
A sua máquina Linux tem 2 monitores. Seu segundo monitor...
Você quer executar uma série de comandos de uma só...
Qual das respostas seguintes cria uma variável de ambiente VAR1...
Qual comando history (Com parâmetro) irá limpar todo o...
Qual é o valor nice máximo que um usuário regular...
Qual variável ambiental indica o caminho do seu...
Qual é a ação padrão do comando split em um...
Que sinal é enviado pelo comando kill por padrão?
Qual é o propósito do comando interno do bash chamado...
Que comando será executado, cmd1 seguido por cmd2,...
Qual dos seguintes comandos podem ser usados ​​para criar uma...
Utilizando os conceitos de expressões regulares, descreva um...
O que é descrito pelas variáveis PS1 e PS2?
Qual dos seguintes comandos mata o processo com o PID 123, mas permite...
Você fez telnet em vários servidores ao mesmo tempo....
No editor vi, qual dos seguintes comandos irá copiar a linha...
Em uma estrutura de diretório aninhada, qual opção de...
Qual variável de ambiente guarda a lista de diretórios...
Qual é o efeito sobre o comando grep quando a opção -v...
Qual dos seguintes comandos irá substituir todas as...
O que acontece após a emissão do comando vi sem...
Qual dos seguintes comandos define uma variável chamada TEST...
Você está digitando uma linha de comando grande e...
Qual dos seguintes comandos irá encontrar a string foo no...
Imediatamente após a exclusão de 3 linhas de texto no vi...
Quando no modo normal no vi, que comando pode ser usado para iniciar...
Quando devo usar grep -F ou o comando fgrep para pesquisar o...
Qual dos seguintes comandos determina o tipo de um arquivo usando um...
Qual dos seguintes comandos irá enviar a saída do...
Qual a variável de ambiente é usada para exibir...
No bash shell, executar o comando !! tem o mesmo efeito de...
Qual dos seguintes comandos é usado para alterar as...
Você digitou o seguinte comando "ls -al /home/hadden"....
Qual dos seguintes sinais são enviados para um processo quando...
Ao ler as páginas man, um monte de caracteres extras são...
Depois de digitar um comando, você recebe uma mensagem de erro...
Qual das seguintes é uma limitação do comando cut ?
Que sinal está ausente no comando a seguir; "killall -s...
Qual opção para o comando tee irá causar a saída...
Um usuário acidentalmente cria o subdiretório \dir no...
Enquanto estiver usando o editor vi, você pretende avançar uma...
Qual sinal é enviado para um processo em suspensão, a...
Qual o arquivo que armazena o histórico de comandos do shell ?
Na seguinte linha de comando; "foo < bar | foobar"....
Qual dos seguintes comandos substitui o bootloader localizado em...
Em relação ao comando; nice -5 /usr/bin/prog
Quando canalizando a saída do comando find para o comando...
A partir de um shell Bash, qual dos seguintes comandos executa...
Suponha que você tenha executado o seguinte comando: cp...
Qual dos seguintes comandos irá reduzir todos os espaços...
Qual o significado do símbolo "+" na seguinte...
Ao editar um arquivo usando o vi, o arquivo muda devido a outro...
O que é que o símbolo "?" significa na...
Alert!

Advertisement