display terminal commands

Asked by Arnold Cohn

using alt/F2 the terminal i enter and command and press enter. the terminal closes and the system returms to the ubuntu screen? example ufw status [enter] how can i see the display of the command?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
michael (yellupcm-gmail) said :
#1

This is old and may not be what you are looking for, but check it out.

http://joesteiger.com/2011/11/06/enable-alt-f2-keyboard-shortcut-ubuntu-11-10/

System settings---Keyboard

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

gnome-terminal -e "ufw status"

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#3

If you need to see the output of a terminal command you should not use Alt-F2 to startthe command, but open a terminal window.

Press ctrl-alt-t to open a terminal window
enter the command (e.g. "ufw status") and you will see the output.
enter "exit" or use the x button to close the terminal again.

Revision history for this message
Arnold Cohn (sfamc2) said :
#4

Thanks.