...

/

Quiz: Controlling Processes

Quiz: Controlling Processes

Test your knowledge of controlling processes with Go.

We'll cover the following...
Technical Quiz
1.

What’s the correct syntax to create an instance of exec.Cmd type that executes the external command ps -ef?

A.

cmd := exec.Command("ps -ef")

B.

cmd := exec.Command("ps", "-ef")

C.

cmd := exec.Cmd("ps", "-ef")

D.

cmd := exec.Cmd("ps -ef")


1 / 4
...