Pergunta de entrevista da empresa Oracle

how to find result of last executed command on linux

Respostas da entrevista

Sigiloso

3 de mai. de 2011

Build a machine that travels faster than the speed of light. Break through the time space continuum until you travel back in time to the exact moment when you entered the last Linux command. The screen will display the result of that command.

Sigiloso

12 de jun. de 2011

1. Use the up arrow to view the previous command and press enter to execute it. 2. Type !! and press enter from the command line 3. Type !-1 and press enter from the command line. 4. Press Control+P will display the previous command, press enter to execute it