Qortal Project

The future of blockchain platforms

User Tools

Site Tools


list_of_terminal_commands

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
list_of_terminal_commands [10/16/2022 03:04] – created gfactorlist_of_terminal_commands [10/16/2022 19:14] gfactor
Line 57: Line 57:
 ===== To Shutdown Or Reboot The Device ===== ===== To Shutdown Or Reboot The Device =====
  
-**Please note:** the Qortal Core needs to be stopped BEFORE you shutdown/reboot your computer! Otherwise the core may be 'corrupted' and require additional steps later. Be sure to: 1) stop the core, then 2) you may shutdown/reboot your computer. If your core is corrupted, you can follow the [[How To Update Portal & .jar File]] or the 'How To Update The Core' section below.+**Please note:** the Qortal Core needs to be stopped BEFORE you shutdown/reboot your computer! Otherwise the core may be 'corrupted' and require additional steps later. Be sure to: 1) stop the core, then 2) you may shutdown/reboot your computer. If your core is corrupted, you can follow the [[How To Update .jar File]] or the 'How To Update The Core' section below.
  
-To shutdown the device in the terminal (outside of the Qortal directory - by simply opening a new terminal window or you can always entercd+To shutdown the device in the terminal (outside of the Qortal directory - by simply opening a new terminal window or you can always enter 'cd' to get out of the Qortal directory: 
  
 <code>sudo shutdown</code>  <code>sudo shutdown</code> 
  
-To reboot the device in terminal (outside of the Qortal directory - by simply opening a new terminal window or you can always entercd):+To reboot the device in terminal (outside of the Qortal directory - by simply opening a new terminal window or you can always enter 'cd' to get out of the Qortal directory:
  
 <code>sudo reboot</code> <code>sudo reboot</code>
Line 75: Line 75:
 ===== How To Update Core & Bootstrap In One Command ===== ===== How To Update Core & Bootstrap In One Command =====
  
-If you’d like, you can simply replace the core and db (to bootstrap) all in one command, in a new terminal: +If you’d like, you can simply replace the core and db (to bootstrap) all in one command, in a new terminal A bootstrap is a download of a database that is updated every 12 hours so that you only have to sync the remaining blocks from the latest bootstrap creation. You will notice several 0-100% processes during the popup screen, then you will need to wait for it to finish synchronizing which will continue after the popup has closed
  
 <code> cd && cd qortal && ./stop.sh && rm qortal.jar && rm -R db && curl -L -O https://github.com/Qortal/qortal/releases/latest/download/qortal.jar && ./start.sh</code> <code> cd && cd qortal && ./stop.sh && rm qortal.jar && rm -R db && curl -L -O https://github.com/Qortal/qortal/releases/latest/download/qortal.jar && ./start.sh</code>
Line 84: Line 84:
  
 {{::screen_shot_2022-10-15_at_11.57.32_pm.png?400|}} {{::screen_shot_2022-10-15_at_11.57.32_pm.png?400|}}
 +
 +The command to produce the log is: 
 +
 +<code>tail -f log.txt.*</code>
  
 You will then see the log within the terminal like this: You will then see the log within the terminal like this:
  
 {{::screen_shot_2022-10-16_at_12.04.03_am.png?400|}} {{::screen_shot_2022-10-16_at_12.04.03_am.png?400|}}
 +
 +===== How To Check Node Status =====
 +
 +<code>cd qortal && ./qort admin/status</code>
 +
 +{{::screen_shot_2022-10-16_at_4.13.58_pm.png?400|}}
list_of_terminal_commands.txt · Last modified: 10/16/2022 19:48 by gfactor