-installed for normal use (including deletion ).
X soft package is damaged and forcibly maintained.
You can also perform fuzzy search in the unified character mode. For example, I want to find all the software packages starting with nano:
$ dpkg -l nano*Desired=Unknown/Install/Remove/Purge/Hold| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed|/ Err?=(none)/Hold/Reinst-requir
states of the package. N package is not installed. I install the package and complete the configuration. The C package was previously installed and is now deleted, but its configuration files remain in the system. The U package is unpacked but not yet configured. F tried to configure the package, but failed. H package was installed, but did not succeed. The third column identifies the error state, which can be summarized in four states. The first state identifies no problem and is empty. The ot
other software packages.
The r package is damaged and may need to be re-installed for normal use (including deletion ).
X soft package is damaged and forcibly maintained.
You can also perform fuzzy search in the unified character mode. For example, I want to find all the software packages starting with nano:
$ Dpkg-L NaNO * desired = unknown/install/remove/purge/hold | status =
summarized in four states. The first state identifies no problem and is empty. The other three symbols identify the corresponding problem.
The H package is enforced because other packages are dependent on requirements and cannot be upgraded.
The R package is corrupted and may need to be reinstalled for normal use (including deletion).
X soft packages are destroyed and are forced to remain.
You can also make fuzzy queries in wildcard mode, for example, I want to
.
The U package is unpacked but not yet configured.
F tried to configure the package, but failed.
H package was installed, but did not succeed.
The third column identifies the error state, which can be summarized in four states. The first state identifies no problem and is empty. The other three symbols identify the corresponding problem.
The H package is enforced because other packages are dependent on requirements and cannot be upgraded.
The R packa
package is unpacked but not yet configured.
F tried to configure the package, but failed.
H package was installed, but did not succeed.
The third column identifies the error state, which can be summarized in four states. The first state identifies no problem and is empty. The other three symbols identify the corresponding problem.
The H package is enforced because other packages are dependent on requirements and cannot be upgraded.
The R package is corrupt
not yet configured.
F tried to configure the package, but failed.
H package was installed, but did not succeed.
The third column identifies the error state, which can be summarized in four states. The first state identifies no problem and is empty. The other three symbols identify the corresponding problem.
The H package is enforced because other packages are dependent on requirements and cannot be upgraded.
The R package is corrupted and may need to be re
(including deletion).
X soft packages are destroyed and are forced to remain.
You can also make fuzzy queries in wildcard mode, for example, I want to find all the packages that start with the nano character:
The above status Description: The system is installed in the nano version 1.3.10-2 nano-tiny , installed, and then cleared;
not yet configured.
F tried to configure the package, but failed.
H package was installed, but did not succeed.
The third column identifies the error state, which can be summarized in four states. The first state identifies no problem and is empty. The other three symbols identify the corresponding problem.
The H package is enforced because other packages are dependent on requirements and cannot be upgraded.
The R package is corrupted and may need to be re
configuration files remain in the system.
The U package is unpacked but not yet configured.
F tried to configure the package, but failed.
H package was installed, but did not succeed.
The third column identifies the error state, which can be summarized in four states. The first state identifies no problem and is empty. The other three symbols identify the corresponding problem.
The H package is enforced because other packages are dependent on requirements
Modify the ubuntu default editor to vim. In general, the default editor under the ubuntu terminal is nano. you can directly edit a file to enable nano by default. For example, when we enter crontab-e, the nano editor is opened by default. Anyone familiar with VIM wants to edit it by default...
Modify the ubuntu default editor to vim. In general, the default edit
install curl$ sudo apt-get install Git-coreConfigure GitGit is used in RVM scripts, and we use it in the second part of this tutorial. After installation, we need to take a moment to configure it. Configuration is easy: Just provide a user name and email address.$ git config--global user.name "Your name" $ git config--global user.email [email protected]Such as:$ git config--global user.name "John Doe" $ git config--global user.email [email protected]Installing RVMNow we can install the RVM. RVM
position (here with the position of the finger cursor)Now you can double-click the arrow keys and insert "s" into the install.If you want to copy the text from the browser to the terminal, you can use the shortcut "SHIFT + Insert".2. Pausing and running commands in the background
CTRL + z – Pause application
fg– the program to the front desk again.
How do you use this technique?Imagine you are editing a file with nano:
sudo
last command becomes this:
sudo apt-getinstall ranger
If you don't know what sudo is, poke it here.3. Pausing and running commands in the backgroundI have written a guide to how to run commands in the terminal background.
CTRL + Z-Pause Application
FG-Re-call the program to the front desk
How do you use this technique?Imagine you are editing a file with nano:
sudo nano
do you use this technique?
Imagine you are editing a file with the nano:
sudo nano abc.txt
File edit to half you realize you need to enter some commands at the end of the terminal, but the Nano is running in the foreground so you can't type.
You might think the only way to do that is to save the file, exit the Nano
-qO- https://get.docker.io/gpg | apt-key add -"To add a Docker repository to a aptitude software source:sudo sh -c "echo deb http://get.docker.io/ubuntu docker main> /etc/apt/sources.list.d/docker.list"Add and then update the system again:sudo aptitude updateFinally, download and install Docker:sudo aptitude install lxc-dockerThe default setting for Ubuntu default firewall (UFW) is to reject all forwarding (forwarding), but Docker needs to be forwarded, so you need to set up UFW.To open the UFW
Generally, the default editor in Ubuntu is nano. You can directly edit a file to enable nano by default. For example, when "crontab-e" is input, the nano editor is opened by default. If anyone familiar with VIM wants the default editor to use vim, we need to modify the default editor of Ubuntu. You can modify the default Ubuntu editor by entering echoexportEDITOR
you use this technique?Imagine you are editing a file with nano:
sudo nano abc.txt
File editing in half you realize you need to enter some commands at the terminal right away, but the nano runs in the foreground so you can't enter.You might think that the only way to do this is to save the file, exit the Nano
privileged.Sudo!! will run the previous command in the form of sudo. So the last command becomes this:
sudo apt-get install ranger
If you don't know what sudo is, poke it here.3. Pausing and running commands in the backgroundI have written a guide to how to run commands in the terminal background.
CTRL + Z-Pause Application
FG-Re-call the program to the front desk
How do you use this technique?Imagine you are editing a file with
[Realization of stochastic flow model in environment building]mininetThis paper records how to Implement "Mininet topology of any host to the other host to randomly send a UDP data stream, and Iperf test results automatically saved to the file" method, in general, "for Mininet set a custom command to achieve the above function" Iperfmulti ' ".
1. Adding custom functions and custom commands
Using the Nano Editor, open and edit t
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.