This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
list_of_terminal_commands [10/16/2022 19:08] – [To Shutdown Or Reboot The Device] gfactor | list_of_terminal_commands [02/13/2025 16:01] (current) – crowetic | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== List Of Terminal Commands ===== | ||
+ | {{: | ||
+ | |||
+ | This page will explain how commands can be entered in the ' | ||
+ | |||
+ | Below is a picture of a terminal with two different commands entered: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | The first command entered was 'cd qortal' | ||
+ | |||
+ | This means that we are within the ' | ||
+ | |||
+ | The second command that was entered was: < | ||
+ | This is the command to start the Qortal Core. Notice that the third is showing confirmation that java has been checked for running, and the fourth line ' | ||
+ | |||
+ | Now that you have a basic understanding of how a terminal works, below are a list of commands that can be entered: | ||
+ | |||
+ | ===== How To Start and Stop The Core ===== | ||
+ | |||
+ | **Please note:** if you purchased a QORTector from www.crowetic.com or have built your own Pi that has Crowetic' | ||
+ | |||
+ | **To start the core:** open Terminator and enter the following separately: | ||
+ | |||
+ | < | ||
+ | ./ | ||
+ | It will then say ' | ||
+ | |||
+ | {{:: | ||
+ | |||
+ | You will then see the Qortal Core startup indication: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | **To stop the core:** open Terminator and enter the following separately: | ||
+ | |||
+ | < | ||
+ | ./ | ||
+ | It will then say ' | ||
+ | |||
+ | {{:: | ||
+ | |||
+ | **To stop and start the core in one window:** open Terminator and enter the following separately: | ||
+ | |||
+ | < | ||
+ | ./stop.sh | ||
+ | ./ | ||
+ | |||
+ | Below is a screenshot of the entire process: | ||
+ | |||
+ | {{:: | ||
+ | |||
+ | You will then see the Qortal Core startup indication: | ||
+ | |||
+ | {{: | ||
+ | |||
===== To Shutdown Or Reboot The Device ===== | ===== To Shutdown Or Reboot The Device ===== | ||
**Please note:** the Qortal Core needs to be stopped BEFORE you shutdown/ | **Please note:** the Qortal Core needs to be stopped BEFORE you shutdown/ | ||
- | 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 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: |
< | < | ||
- | 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 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: |
< | < | ||
+ | ===== How To Update The Core===== | ||
+ | |||
+ | This will remove all the log files and download the newest version of the qortal.jar, enter this in a new terminal: | ||
+ | |||
+ | < | ||
+ | |||
+ | ===== 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 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: | ||
+ | |||
+ | < | ||
+ | |||
+ | ===== How To Produce The Latest Log ===== | ||
+ | |||
+ | The log can be used to review what is happening with the Core, especially by those who are more familiar with these logs and assisting you with tech support. This needs to be entered inside of the Qortal directory by entering 'cd qortal' | ||
+ | |||
+ | {{:: | ||
+ | |||
+ | The command to produce the log is: | ||
+ | |||
+ | < | ||
+ | |||
+ | You will then see the log within the terminal like this: | ||
+ | |||
+ | {{:: | ||
+ | |||
+ | ===== How To Check Node Status ===== | ||
+ | |||
+ | < | ||
+ | |||
+ | {{:: |