Really regret learning Linux with Ubuntu found a lot of things are not complete, Kate did not, vi version low, help the document is not a whole series of problems. How does the Ubuntu man Help document not complete? How to solve? Don't worry, the bottom of the small series for everyone to bring the most detailed solution, hope to help everyone
Really regret learning Linux with Ubuntu found a lot of things are not complete, Kate did not, vi version low, help the document is not a whole series of problems. How does the Ubuntu man Help document not complete? How to solve? Don't worry, the bottom of the small series for everyone to bring the most detailed solution, hope to help everyone!
After installing the Ubuntu system, often found that there are many functions through the man query, some people asked why the choice of men, the answer is obvious:
1, man is the Ubuntu system comes with the function of the query is very convenient;
2, man's query speed quickly;
3, man's system comes with a strong authority;
4, man can be synchronized with the system update, you can ensure that the man document "full", "new", "quasi" and other characteristics;
Convenient for others is also convenient for themselves, if you think it is OK to click on the right side of the vote , this can help others find a faster way to solve the problem, in doubt can also leave a message oh, thank you!
Tools/Materials
Ubuntu 1404
Shell
Method/Step
1, use the shortcut key ctrl+alt+t, open the Shell window, as follows:
2. In the shell, enter "sudo apt-get update" update source;
The following instructions are required to update the man document:
1. Install the relevant help document of standard C
sudo apt-get install Libc-dev
sudo apt-get install Glibc-doc
2, enter the man 3 printf in the shell, test the installation situation;
3. The display effect is as follows:
1, install the standard C + + Help document: (The version number is automatically prompted by the TAB key to prevail)
sudo apt-get install Libstdc++6-4.7-dev
sudo apt-get install Libstdc++6-4.7-doc
2, enter the man std::exception in the shell, test the installation situation;
3. The display effect is as follows:
1. Install C + + STL related Help documents:
sudo apt-get install stl-manual
2, enter the man std::exception in the shell, test the installation situation;
3. The display effect is as follows:
1. Install the POSIX standards-related help documentation:
sudo apt-get install Manpages-posix-dev
2, enter the man strcpy in the shell, test the installation situation;
3. The display effect is as follows:
5. Some of the other common directives:
Change root password: sudo passwd root
END
Precautions
The version number of the installation Help document is subject to the tab prompt
When querying STL, you need to prefix such as: Man Std::vector
Hara Faucault
The above is the Ubuntu under the man to help the document is not complete solution, hope to help everyone. Thank you for reading this article!
Reprinted from: http://www.jb51.net/os/Ubuntu/202251.html
Small usage of man:
Generally only need to directly man+ the command, but the same command, man out of the result is probably not want, you can first use MAN-F query, and then use the man+ number + command name query. The program function can be found by the man, such as the name of the function, such as the direct men Open is not the open () function of the help, discovered that there are two open, the second is to find the file, then can be used Man 2 open
$ man-f Open
Open (1)-Start a program on a new virtual terminal (VT).
Open (2)-Open and possibly create a file or device
$ Man 2 Open
Reprinted from: http://blog.sina.com.cn/s/blog_63ac1cef0100us3p.html
How does the Ubuntu man Help document not complete? How do I fix it?