SóProvas


ID
1700149
Banca
FCC
Órgão
TRT - 4ª REGIÃO (RS)
Ano
2015
Provas
Disciplina
Sistemas Operacionais
Assuntos

O usuário de um computador com sistema operacional Linux utilizou um terminal shell e executou o xcalc seguido da tecla Enter. Para suspender a execução do xcalc, deve-se, no terminal shell, pressionar simultaneamente as teclas

Alternativas
Comentários
  • Pra quem tá acostumado com o Ctrl+c (que não está listado nas opções), segue link com a diferença de Ctrl+c e Ctrl+z.

    http://askubuntu.com/questions/510811/what-is-the-difference-between-ctrl-z-and-ctrl-c-in-the-shell

  • Ctrl+c : parada de um comando 

    Ctrl+z : suspender (pausa) um comando

  • Letra B

     

    Ctrl+C is used to kill a process with signal SIGINT , by other words it is a polite kill .

    Ctrl+Z is used to suspend a process by sending it the signal SIGSTOP , which is like a sleep signal, that can be undone and the process can be resumed again.

    However when a process is suspended , we can resume it again by fg (resume in foreground) and bg (resume in background) , but we can't resume a killed process, that is a difference between using Ctrl+C & Ctrl+Z.

     

    https://askubuntu.com/questions/510811/what-is-the-difference-between-ctrl-z-and-ctrl-c-in-the-shell