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 the content that needs special attention, except for the commands in it</p>{| class="wikitable" style="background-color:#ffffdc;width:800px;height:40px" |-| |}</li>
<li><p>Description of the prompt type in front of the command</p>
<ol style="list-style-type: lower-alpha;">
<li><p>The prompt in front of the command refers to the content of the > red part in the box below. This part of the content is not > part of the Linux command, so when entering the command in the > Linux system, please do not enter the content of the red font > part.</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:[email protected] [email protected].]xxx'''</p><p>'''<span style="color:#FF0000">root@test:~# </span> ls'''</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 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''', and > the '''<span style="color:#FF0000">#</span>''' at the end of the prompt indicates that the current > user of the system is the root user, who can execute any > desired command</p></li><li><p>'''<span style="color:#FF0000">test@test:~$</span>''' The prompt indicates that the 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>''' The prompt indicates that the 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 > 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><p>As shown below, some commands cannot be written in one line and > will be placed on the next line. As long as the black and bold > parts are all commands that need to be input. When these > commands are entered into one line, the last "\" of each > line needs to be removed, this is not part of the command. In > addition, there are spaces in different parts of the command, > please don’t don't miss it</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 ==