man手册的安装和使用

【Linux】man手册 man手册就是linux下提供给用户查看linux语法的一本书,当用户遇到一些不懂的命令/函数的时候,不用刻意地去记住命令/函数是什么,只需要记住怎么在man手册中查询即可。 阅读详情

man手册 - HQ

man手册的使用

首先man分为八个目录,每个目录用一个数字表示

  • 1.可执行程序
  • 2.系统调用
  • 3.库函数
  • 4.特殊文件
  • 5.文件格式和规范
  • 6.游戏
  • 7.杂项,包括宏包和规范
  • 8.系统管理命令

每个页面的基本内容

  • [NAME] 命令的名称
  • [SYNOPISIS] 表示命令的常用参数
  • [DESCRIPTION] 描述了命令的功能

快捷键

  • 回车 下一行
  • page up 上一行
  • page down 下一行
  • home[方向键左]第一页
  • end[方向键右] 最后一页
  • 空格 下一页
  • b 上一页
  • q 退出
  • /string 从上往下搜索字符串string
  • ?string 从下往上搜索字符串string
  • n 下一个搜索匹配项
  • N 上一个搜索匹配项

既然man是一个命令,它也有许多自己的参数

  • -P 指定用什么工具查看文档
  • -a 列出所有命令
  • -f 只显示命令的描述,相当于whatis命令

Linux man中文手册

安装man中文手册

通过安装包安装
  1. 进入中文man包网站下载源码包

    https://src.fedoraproject.org/repo/pkgs/man-pages-zh-CN/

    #ubuntu可通过wget下载源码
    wget https://src.fedoraproject.org/repo/pkgs/man-pages-zh-CN/manpages-zh-1.5.1.tar.gz/13275fd039de8788b15151c896150bc4/manpages-zh-1.5.1.tar.gz
    
  2. 解压编译安装(参考README手册)

tar zxf manpages-zh-1.5.1.tar.gz -C /usr/src
./configure --disable-zhtw #默认安装 
make && make install
通过apt安装

>

#ubuntu / Debian
sudo apt update
sudo apt install manpages-zh 

配置man中文手册

README使用说明

在这里插入图片描述

在这里插入图片描述

配置步骤

为了不抵消man,我们新建cman命令作为中文查询

如果是通过apt自动安装,默认已经替换man指令

cd ~
vi .bash_profile
#在.bash_profile中增加:
alias cman='man -M /usr/local/zhman/share/man/zh_CN' #根据个人安装目录,配置路径
source .bash_profile #更新bash_profile 使其生效

安装完成!进行测试!

[root@bogon ~]# cman ls
//安装完成之后,注意就得使用cman来获取man手册帮助信息了

效果如下:

在这里插入图片描述

Ubuntu安装中文man手册 Ubuntu安装中文man手册。 阅读详情

相关推荐

Ubuntu 中文man手册安装方法

Ubuntu 下查看中文man手册方法: 1,打开终端,输入以下命令安装中文 man 手册 sudo apt-get install manpages-zh 2,查看man 手册安装到哪里 dpkg -L manpages-zh | less 查看到安装在/usr/share/man/zh_CN 3,设一个中文man别名      修改 ~/.bash

qq_14989227的博客 1574

Linux中man手册的安装以及使用详解

Linux中man手册的安装以及使用详解linux中man手册的安装以及使用详解man手册是什么man手册是干嘛的man手册如何安装man手册如何使用举例讲解我们来看一下man手册的目录结构。进行具体分析section分析具体结构1、NAME部分(名称)2、SYNOPSIS部分(摘要,命令语法)3、DESCRIPTION部分(描述)4、AUTHOR5、REPORTING BUGS(已报告的错误)6、COPYRIGHT(版权)7、SEE ALSO(查看相关信息的位置)man手册页的基本操作1.查找信息2.退出

qq_46140800的博客 1万+

linux自助安装man手册,就是这么简单!

前言 ​在Linux编写或者编译C代码的时候,直接使用man命令就可以查看该函数的使用手册,非常方便,如: man3sleep 但是一般却没有C++的函数手册,怎么把C++的帮助手册也装在机器上呢? 本文借助C++手册的安装,说明如何自助安装man手册。 man原理 如果你还不习惯使用man命令或者不清楚man命令的作用,那么建议你先看看这篇《linux必学命令-m...

守望的博客-编程珠玑 2416

完整指南:如何安装Man手册

man手册是Unix和类Unix操作系统中的命令行工具,用于提供关于特定命令、函数和文件的帮助文档。它通常包含命令的语法、选项、参数、示例以及其他相关信息。man手册可以通过在终端输入"man"命令,后跟要查看的命令或函数名称来访问。man手册按照章节划分,每个章节包含不同类型的信息,如命令、库函数、设备驱动程序等。章节名称描述1Standard commands(标准命令)Executable programs or shell commands, 普通的命令2。

CODER-GODV的博客 2085

Linux man手册的基本组成和使用方法

在命令行中输入man man可以查看man手册的详细使用方法,这里记录一些目前用到的内容。

二进制君 1269

中国裁判文书网案例批量爬取

本文介绍了某法院网站数据采集的技术研究过程,主要包含JS逆向分析和数据解密方法。通过开发者工具分析发现页面数据经过加密处理,重点研究了ciphertext等加密参数的生成逻辑。文章详细记录了定位加密函数、扣取加密代码、解密数据处理的全流程,并验证了解密方法的有效性。研究过程中强调了技术使用的法律边界,明确声明仅用于合法技术研究,禁止任何非法数据爬取行为。最终实现了加密数据的成功解密,并解释了各请求参数的作用,为后续数据清洗和存储奠定了基础。

2303_80825459的博客 828

Linux 安装中文 man 手册

Linux 安装中文 man 手册Linux 安装中文 man 手册章节介绍centos 安装中文 man 手册1centos 安装中文 man 手册2Ubuntu安装源码安装环境变量配置man手册的使用 Linux 安装中文 man 手册章节介绍 Linux 的man手册共有以下几个章节: Linux提供了丰富的帮助手册,当你需要查看某个命令的参数时不必到处上网查找,只要man一下即可。 Linux 的man手册共有以下几个章节: 章节 名称 描述 1 Standard commands(

muzlei的博客 9024

从Protocol到硬件控制:揭秘高通UEFI中ABL与XBL的协作机制

本文深入解析了高通UEFI架构中ABL与XBL的协作机制,重点探讨了Protocol通信在硬件控制中的关键作用。通过对比传统GPIO控制方式,揭示了Protocol架构在安全性、可维护性和灵活性方面的优势,并提供了关机充电场景的实战案例分析及调试技巧。

weixin_29185199的博客 434

Ubuntu下man手册的安装和使用

目录一、linux man手册二、Ubuntu安装三、man手册使用 一、linux man手册 Linux提供了丰富的帮助手册,当你需要查看某个命令的参数时不必到处上网查找,只要man一下即可。 Linux 的man手册共有以下几个章节: 二、Ubuntu安装 Ubuntu默认是没有完全安装man手册的 sudo apt-get install manpages-de manpages-de...

年少生而为人 6357

用OpenNI2获取奥比中光Astra Pro及 Astra Pro SM输出的深度图(win,linux arm64 x64平台)

搞了一个奥比中光Astra Pro,想在windows平台,和linux rk3588 上获取深度信息,之前的驱动下载已经不好用了。

babytiger的专栏 1314

09、Flutter FFI Dart Native API

本文介绍了 Dart Native API 的基本用法,解决了 Dart 与 C 异步通讯的问题

eieihihi的专栏 4404

man手册,安装中文手册

一、man手册。 1、什么是man手册? man手册就是linux提供给用户查看linux语法的一本书,当用户遇到一些不懂的命令/函数时,不用刻意去记住命令/函数的用法,只需要记住怎么在man手册去查询即可。 遇到不懂的命令 -> 查阅man手册 -> 得知:命令功能,命令参数,命令使用方法。 遇到不懂的函数 -> 查阅man手册 -> 得知:函数功能,函数头文件,函数原型,函数参数,函数返回值。 2、man手册是如何管理内容? gec@ubuntu:~$ man...

qq_45633736的博客 1003

SAP生产版本导入避坑大全:从‘黄灯’到‘绿灯’,详解CM_FV_MKAL_CONSISTENCY_CHECK检查函数

本文深入解析SAP生产版本导入过程中的常见问题,特别是通过`CM_FV_MKAL_CONSISTENCY_CHECK`检查函数从‘黄灯’异常到‘绿灯’正常的修复方法。涵盖静态与动态校验机制、典型异常场景诊断及批量导入最佳实践,帮助SAP运维人员高效解决生产版本管理难题。

weixin_30568591的博客 392

Linux下 man命令的使用 及 中文man手册的安装

其内容包括命令语法、各选项的意义及相关命令。更为强大的是,不仅可以查看Linux中命令的使用帮助,还可以查看软件服务配置文件、系统调用、库函数等帮助信息。命令是Linux下最核心的命令之一。而man命令也并不是英文单词“man”的意思,它是单词manual的缩写,即。在最后一行添加“alias cman=‘man -M /usr/share/man/zh_CN’”(“"查看安装路径(默认安装路径为/usr/share/man/zh_CN):可以通过一些参数,快速查询linux帮助手册,并且格式化显示。

Bit_Dong的博客 7072

深入了解神经网络:构建人工智能的基石

这篇博客将为您解释神经网络的构造,让您能够理解这个令人着迷的领域的基本工作原理。神经网络是人工智能领域的关键技术,它们的构造基于神经元的灵感,并结合了数学、统计和机器学习的原理。输入可以类比为神经元的树突,而输出可以类比为神经元的轴突,计算则可以类比为细胞核。较好的方法就是预先设定几个可选值,通过切换这几个值来看整个模型的预测效果,选择效果最好的值作为最终选择。:这是神经网络的核心部分,包含多个层次的神经元。、神经网络结构图中的拓扑与箭头代表着预测过程时数据的流向,跟训练时的数据流有一定的区别;

AI_dataloads的博客 2万+

【数字孪生与仿真技术】05:从原理到实战:MATLAB/Simulink在航空航天GNC系统开发中的深度解析(含全流程代码与认证指南)

摘要:本文系统阐述MATLAB/Simulink在航空航天制导、导航与控制(GNC)系统开发中的核心应用。通过解析GNC系统高保真动力学建模、多源导航传感器融合、鲁棒控制算法设计等关键技术原理,结合Virgin Orbit运载火箭、CubeSat等真实案例,展示从需求分析、模型搭建、仿真验证到代码生成与认证的完整开发流程。文中提供1200余行关键代码、8个可复用Simulink模型及详细执行结果展示,涵盖DO-178C认证支持、实时性能优化等工业级开发规范,为航空航天工程师、科研人员提供可落地的参考方案。

专注于人工智能、软件开发、工控自动化、工厂数字化及智能化等领域,希望和大家共同进步! 1660

Linux——man手册介绍 包括中文man手册安装

1 Executable programs or shell commands 可执行程序或 shell 命令 2 System calls (functions provided by the kernel) 系统调用(内核提供的函数) 3 Library calls (functions within program libraries) 库调用(程序库中的函数) 4 Special files (usually found in /dev) ...

weixin_49356927的博客 5613

智能办公助手——OpenClaw办公自动化集成(2026办公版)

OpenClaw智能办公助手是一款集成任务管理、文档处理等功能的办公自动化系统。该系统采用Python实现,核心功能包括:1)任务管理系统,支持任务增删改查、状态跟踪和统计报表生成;2)文档智能助手,提供文档处理能力。任务管理模块具备优先级设置、状态变更、时间记录等功能,并能生成包含完成率等指标的任务报告。该系统旨在通过自动化办公流程提升工作效率,减少重复性工作。开发者可利用这些模块构建完整的智能办公解决方案。

一键难忘的博客 360

Linux安装中文man帮助手册

本文介绍了在CentOS/RedHat系统安装中文man手册的详细步骤:1)下载源码包并安装Autotools依赖;2)解压后通过autogen.sh生成configure脚本,配置编译选项(禁用繁体中文并指定安装路径);3)创建cman别名方便使用;4)通过source命令使配置生效。安装后可通过三种方式查看中文帮助文档,并提供了故障排查建议。注意事项包括系统要求、权限及字符编码设置等,确保用户能顺利使用中文man手册提高命令查询效率。

Yangxiangmin0629的博客 1188

Outlook Express 6 (OE6) for Win7/Win8/Win10

英文版 Outlook Express6.0, 兼容Win7/Win10/WinXP,解压就可用。

Probability and Statistics - 4th edition

Probability and Statistics - 4th edition

从此英语渣渣也能看懂man手册-【linux man手册汉化安装使用教程】

中文man手册安装使用一、yum安装cman二、编译安装三、汉化man手册使用(cman) yum源:阿里源 博客使用的linux版本:CentOS Linux release 7.7.1908 (Core) 注:博客中包含常见所以liunx版本的安装方法,并附加安装包的百度网盘链接。 一、yum安装cman 这个方法肯定首选yum安装 这个方法最简单 yum源配置←点击这里查看 安装需要的包...

TianYao 3948

深度学习工具包 DeepLearningToolbox

深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

【Linux】man手册安装使用

man手册安装,man使用,man问题解决,man参数使用,使用实例

寒雒的博客 1497

LinePhone3.2.7(android端最新版本) sip客户端

SIP客户端For android:LinePhone3.2.7(最新版本),官网地址:http://www.linphone.org/

linux下man手册的安装和使用

linux man手册Linux提供了丰富的帮助手册,当你需要查看某个命令的参数时不必到处上网查找,只要man一下即可。 Linux 的man手册共有以下几个章节: 章节 名称 描述 1 Standard commands(标准命令) Executable programs or shell commands, 普通的命令 2 System calls(系统调用)

OSKernelLAB(gatieme) 5万+

OpenEuler man 手册安装

Man 手册安装1.配置man[root@myEuler ~]# dnf -y install man man-pages man-pages-help2.下载man手册源码包[root@myEuler ~]# wget https://mirrors.edge.kernel.org/pub/linux/docs/man-pages/man-pages-6.03.tar.gz[root@myEuler ~]# tar -xzvf man-pages-6.03.tar.gz4.安装man手册#进入目标目录[r

weixin_61939442的博客 1152

linux下man手册的安装和使用 [转]

Linux提供了丰富的帮助手册,当你需要查看某个命令的参数时不必到处上网查找,只要man一下即可。 Linux 的man手册共有以下几个章节: 章节 名称 描述 1 Standard commands(标准命令) Executable programs or shell commands, 普通的命令 2 System calls(系统调用) System calls (functions provided by the kernel)系统调用,如open,w.

legend050709的专栏 1261

Ubuntu 安装中文man手册

1.安装中文man手册 lione@ubuntu:~$ sudo apt-get install manpages-zh 2.查看中文man手册安装路径 dpkg -L manpages-zh | less 3.给中文man设置一个命令 为了和系统原来的man区分开,用alias给中文man的命令设置一个别名 alias cman='man -M /usr/share/man/zh_CN'...

CChoro的博客 3270
上一篇: u-boot介绍与u-boot启动流程介绍
下一篇: 面试必备之——TCP/UDP(一)
Volatile_
博客等级 码龄7年 889粉丝 38原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值
⌂ 换网址