Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to implement man page with linux

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article will explain in detail how to achieve man page in linux. The editor thinks it is very practical, so I share it for you as a reference. I hope you can get something after reading this article.

= = A typical man page===

Man date

DATE (1) User Commands DATE (1)

# Please note the numbers in parentheses above

NAME documents related to kernel

Note: the above 1, 5 and 8 are very important and should be memorized.

Man-f man can get more information about man

The info command can display help in a very good-looking typesetting page format, similar to man.

You can find more help documentation under / usr/share/doc, which not only tells you How to, but also tells you Why, some of the principles behind it.

= = restore after a file system error =

* if the root directory is not damaged, it is simple. When you boot, you will be prompted to enter the root password, and then log in to single-user maintenance mode. Just type "fsck / dev/sda7".

* if the root directory is damaged, unplug the hard drive and connect it to another linux system. Do not mount the hard drive, and then execute "fsck / dev/sdb1" with root, and OK everything.

* if the hard drive is completely broken and there is no way, buy a new hard drive and see how much data can be recovered. O (╯□╰) o

= forget root password = =

After booting to the grub screen, press e to enter the editing mode, and then add single to enter the single maintenance mode. Then you can get root privileges without entering a password, and then run passwd to reset the password.

This is the end of the article on "how to achieve man page in linux". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report