Ask / Submit

Revision history [back]

click to hide/show revision 1
initial version

posted 2015-08-06 21:08:32 +0300

[how to] start an app from terminal and collect log

for all non-developers that have reported a bug and need to send a log to the corresponding developer

  • first enable developer mode to get the terminal application the option is in Settings\System in the Security section
  • start the terminal
  • type in name of application i.e. [nemo@jolla ~]$ harbour-webpirate

this will start the application, the output will be shown on screen, you can make a screenshot ;-)

to redirect the output into a file that you can collect, type instead

name of application > out.log 2> err.log i.e. [nemo@jolla ~]$ harbour-webpirate > out.log 2> err.log

to redirect stdout to a file, display stderr type:

name of application 1>file

to redirect stderr to a file, display stdout type:

name of application 2>file

to redirect both to a file, display nothing type:

name of application 1>file 2>&1 g

when done turn quit terminal, collect the file i.e. with Filebrowser and disable developer mode again

[how to] start an app from terminal and collect log

for all non-developers that have reported a bug and need to send a log to the corresponding developer

  • first enable developer mode to get the terminal application the option is in Settings\System in the Security section
  • start the terminal
  • type in name of application i.e. [nemo@jolla ~]$ harbour-webpirateimage description

this will start the application, the output will be shown on screen, you can make a screenshot screenshot:

image description

;-)

to redirect the output into a file that you can collect, type instead

name of application > out.log 2> err.log i.e. [nemo@jolla ~]$ harbour-webpirate > out.log 2> err.log

to redirect stdout to a file, display stderr type:

name of application 1>file

to redirect stderr to a file, display stdout type:

name of application 2>file

to redirect both to a file, display nothing type:

name of application 1>file 2>&1 g

when done turn quit terminal, collect the file i.e. with Filebrowser and disable developer mode again

A small hint for tohkbd owners: You'll love the tab key. It's auto-completion! So for the example screenshots it was enough to write ha[tab]we[tab] instead of harbour-webpirate. :-)

[how to] start an app from terminal and collect log

for all non-developers that have reported a bug and need to send a log to the corresponding developer

  • first enable developer mode to get the terminal application the option is in Settings\System in the Security section
  • start the terminal
  • type in name of application i.e. image description

this will start the application, the output will be shown on screen, you screen. You can make a screenshot:

screenshot: image description

;-)

to redirect the output into a file that you can collect, type instead

name of application > out.log 2> err.log err.log i.e. [nemo@jolla ~]$ harbour-webpirate > out.log 2> err.log

to redirect stdout to a file, display stderr type:

name of application 1>file name of application 1>file

to redirect stderr to a file, display stdout type:

name of application 2>file name of application 2>file

to redirect both to a file, display nothing type:

name of application 1>file 2>&1 g

when done turn quit terminal, collect the file i.e. with Filebrowser and disable developer mode again

A small hint for tohkbd TOHKBD owners: You'll love the tab key. It's auto-completion! So for the example screenshots it was enough to write ha[tab]we[tab] instead of harbour-webpirate. :-)

[how to] start an app from terminal and collect log

for all non-developers that have reported a bug and need to send a log to the corresponding developer

  • first enable developer mode to get the terminal application the option is in Settings\System in the Security section
  • start the terminal
  • type in name of application i.e. image description

this will start the application, the output will be shown on screen. You can make a screenshot: image description

;-)

to redirect the output into a file that you can collect, type instead

name of application name_of_application > out.log 2> err.log i.e. [nemo@jolla ~]$ harbour-webpirate > out.log 2> err.log

to redirect stdout to a file, display stderr type:

name of application name_of_application 1>file

to redirect stderr to a file, display stdout type:

name of application name_of_application 2>file

to redirect both to a file, display nothing type:

name of application name_of_application 1>file 2>&1 g

when done turn quit terminal, collect the file i.e. with Filebrowser and disable developer mode again

A small hint for TOHKBD owners: You'll love the tab key. It's auto-completion! So for the example screenshots it was enough to write ha[tab]we[tab] instead of harbour-webpirate. :-)

[how to] start an app from terminal and collect log

for all non-developers that have reported a bug and need to send a log to the corresponding developer

  • first enable developer mode to get the terminal application the option is in Settings\System in the Security section
  • start the terminal
  • type in name of application i.e. image description

this will start the application, the output will be shown on screen. You can make a screenshot: image description

;-)

to redirect the output into a file that you can collect, type instead

name_of_application > out.log 2> err.log>out.log 2>err.log i.e. [nemo@jolla ~]$ harbour-webpirate > out.log 2> err.log

to redirect stdout to a file, display stderr type:

name_of_application 1>file

to redirect stderr to a file, display stdout type:

name_of_application 2>file

to redirect both to a file, display nothing type:

name_of_application 1>file 2>&1 g

when done turn quit terminal, collect the file i.e. with Filebrowser and disable developer mode again

A small hint for TOHKBD owners: You'll love the tab key. It's auto-completion! So for the example screenshots it was enough to write ha[tab]we[tab] instead of harbour-webpirate. :-)