8,367
edits
Changes
→Linux command format description in this manual
<ol style="list-style-type: decimal;">
<li><p>All commands that need to be entered in the Linux system in this manual will be enclosed in the following boxes</p>
{| class="wikitable" style="width:800px;height:40px;" |-| |}<p>As shown below, the content in the yellow box indicates content that requires special attention, except for the commands inside.</p>{| class="wikitable" style="background-color:#ffffdc;width:800px;height:40px;" |-| |}</li>
<li><p>Description of the prompt type before the command</p>
<ol style="list-style-type: lower-alpha;">
<li><p>The prompt in front of the command refers to the red part in the > box below. This part is not part of the Linux command. > Therefore, when entering commands in the Linux system, please > do not also enter the content in the red font.</p>{| class="wikitable" style="width:800px;" |-| <p>'''<span style="color:#FF0000">orangepi@orangepi:~$ </span> sudo apt update'''</p><p>'''<span style="color:#FF0000">root@orangepi:~#</span>''' '''vim /boot/boot.cmd'''</p><p>'''<span style="color:#FF0000">test@test:~$ </span> ssh [mailto:root@192.168.1.36 root@192.168.1.]xxx'''</p><p>'''<span style="color:#FF0000">root@test:~# </span> ls'''</p>|}</li><li><p>'''<span style="color:#FF0000">root@orangepi:~$</span>''' prompt indicates that this command is > entered in the '''Linux system of the development board'''. The > '''<span style="color:#FF0000">$</span>''' at the end of the prompt indicates that the current > user of the system is an ordinary user. When executing a > privileged command, '''sudo''' needs to be added.</p></li><li><p>'''<span style="color:#FF0000">root@orangepi:~#</span>''' The prompt indicates that this command is > entered in the '''Linux system of the development board'''. The > '''<span style="color:#FF0000">#</span>''' at the end of the prompt indicates that the current > user of the system is the root user and can execute any > command you want to execute.</p></li><li><p>'''<span style="color:#FF0000">test@test:~$</span>''' prompt indicates that this command was > entered in the Ubuntu PC or Ubuntu virtual machine, not the > Linux system of the development board. The '''<span style="color:#FF0000">$</span>''' at the end > of the prompt indicates that the current user of the system is > an ordinary user. When executing privileged commands, sudo > needs to be added.</p></li><li><p>'''<span style="color:#FF0000">root@test:~#</span>''' prompt indicates that this command is entered > in the Ubuntu PC or Ubuntu virtual machine, not the Linux > system of the development board. The '''<span style="color:#FF0000">#</span>''' at the end of the > prompt indicates that the current user of the system is the > root user and can execute any command you want to execute.</p></li></ol>
</li>
<li><p>What are the commands that need to be entered?</p>
<ol style="list-style-type: lower-alpha;">
<li><p>As shown below, the '''bold black part''' is the command that > needs to be input. The content below the command is the output > content (some commands have output, and some may not output). > This part of the content does not need to be input.</p>{| class="wikitable" style="width:800px;" |-|
<p>root@orangepi:~# '''cat /boot/orangepiEnv.txt'''</p>
<p>'''<span style="color:#FF0000">verbosity=7</span>'''</p>
<p>bootlogo=false</p>
<p>'''<span style="color:#FF0000">console=serial</span>'''</p></li><li>|}</li><li><p>As shown below, some commands that cannot be written in one line > will be placed on the next line. As long as the black and bold > parts are the commands that need to be entered. When these > commands are entered into one line, the "\" at the end of > each line needs to be removed. This is not part of the > command. In addition, different parts of the command have > spaces, please don't miss them.</p>{| class="wikitable" style="width:800px;" |-|
<p>orangepi@orangepi:~$ '''echo \'''</p>
<p>'''"deb [arch=$(dpkg --print-architecture) \'''</p>
<p>'''signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] \'''</p>
<p>'''https://download.docker.com/linux/debian \'''</p>
<p>'''$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null'''</p>|}</li></ol>
</li></ol>
<span id="linux-system-login-instructions"></span>
== Linux system login instructions ==