首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往

CentOS 7 下 man 命令中文版的安装和使用

在学习Linux命令期间, 很多新手现在可能会想:“Linux系统中有那么多命令,我怎么知道某个命令是干嘛用的?在日常工作中遇到了一个不熟悉的Linux命令,我又怎样才能知道它有哪些可用参数呢?”,关于这一点Linux下的 man 命令就是为此而准备的, man 命令是Linux下的帮助指令,通过 man 指令可以查看Linux中的指令帮助、配置文件帮助和编程帮助等信息。但是对于很多英文水平有限的人来说学习起来有些困难,在此提供安装中文版 man 的详细步骤。当然英文水平不好是需要进行自我检讨的,希望在学习的时候利用中英文对照着来看。达到linux和英文一起进步的效果。本文就以最常用的centOS 7为例,讲解如何安装man的中文版。

03
  • 您找到你想要的搜索结果了吗?
    是的
    没有找到

    c语言基础学习10_文件操作02

    ============================================================================= ============================================================================= 涉及到的知识点有: 六、stat函数 七、fread 和 fwrite函数 八、fopen的a模式说明 九、fopen的b模式说明 十、sftp传输文件时的说明 十一、fopen的其他模式简要说明 十二、实现二进制文件的拷贝 十三、fseek函数 十四、ftell函数 十五、fflush函数 十六、remove函数 和 rename函数 (文件删除函数和文件改名函数) 十七、通过fwrite将结构体保存到二进制文件中 课堂练习 ============================================================================= ============================================================================= 六、stat函数

    01

    命令帮助类基础命令

    常用命令缩写 缩写 | 全称 | 说明 — | — | — apt | Advanced Packaging Tool | 是Debian Linux发行版中的APT软件包管理工具。一般配合apt-get或者apt-update awk | Aho Weiberger and Kernighan | Alfred Aho,Peter Weinberger, 和 Brian Kernighan 的Family Name的首字符。一种编程语言,用于在linux/unix下对文本和数据进行处理。 bash | Bourne Again SHell | 一种shell bg | BackGround | 用于将作业放到后台运行,使前台可以执行其他任务。该命令的运行效果与在指令后面添加符号&的效果是相同的,都是将其放到系统后台执行。 cal | CALendar | 用于显示当前日历,或者指定日期的日历。 cat | CATenate | “连接”,连接文件并打印到标准输出设备上,cat经常用来显示文件的内容,类似于下的type命令。 chgrp | CHange GRouP | 用来改变文件或目录所属的用户组。 chmod | CHange MODe | 用来变更文件或目录的权限。 chown | CHange OWNer | 改变某个文件或目录的所有者和所属的组,该命令可以向某个用户授权,使该用户变成指定文件的所有者或者改变文件所属的组。 cd | Change Directory | 切换工作目录 cp | CoPy | 将一个或多个源文件或者目录复制到指定的目的文件或目录 dd | Data Description | 用于复制文件并对原文件的内容进行转换和格式化处理。 df | Disk Free | 用于显示磁盘分区上的可使用的磁盘空间。默认显示单位为KB。 du | Disk Usage | 查看使用空间的,但是与df命令不同的是Linux du命令是对文件和目录磁盘使用的空间的查看,还是和df命令有一些区别的。 diff | DIFFerence | 在最简单的情况下,比较给定的两个文件的不同。 dpkg | Debian PacKaGe | Debian Linux系统用来安装、创建和管理软件包的实用工具。 ed | EDitor | 单行纯文本编辑器,它有命令模式(command mode)和输入模式(input mode)两种工作模式。 emacs | Editor MACroS | 是由GNU组织的创始人Richard Stallman开发的一个功能强大的全屏文本编辑器,它支持多种编程语言,具有很多优良的特性。(备注:vim大法好!!!) env | ENVironment | 用于显示系统中已存在的环境变量,以及在定义的环境中执行指令。 exec | EXECute | 用于调用并执行指令的命令。 fsck | File System Consistency checK, or fuck | 用于检查并且试图修复文件系统中的错误。 gawk | Gnu Aho Weiberger and Kernighan | grep | Gnu Regular Expression Print | (global search regular expression(RE) and print out the line,全面搜索正则表达式并把行打印出来)是一种强大的文本搜索工具,它能使用正则表达式搜索文本,并把匹配的行打印出来。 grub | GRand Unified Bootloader | 多重引导程序grub的命令行shell工具。 ifconfig | InterFace CONFIGuration | 被用于配置和显示Linux内核中网络接口的网络参数。 init | INITialization | Linux下的进程初始化工具 insmod | INStall Module | 用于将给定的模块加载到内核中。 ln | LiNk | 用来为文件创件连接,连接类型分为硬连接和符号连接两种,默认的连接类型是硬连接。如果要创建符号连接必须使用”-s”选项。 ls | LiSt | 显示目标列表 lsmod | LiSt Module | 用于显示已经加载到内核中的模块的状态信息。 man | MANual | Linux下的帮助指令,通过man指令可以查看Linux中的指令帮助、配置文件帮助和编程帮助等信息。一般戏称有问题找男人。。。 mkdir | MaKe DIRectory | 创建目录 mkfs | MaKe FileSystem | 用于在设备上(通常为硬盘)创建Linux文件系统。 mv | MoVe | 对文件或目录重新命名,或者将文件从一个目录移到另一个目录中。 nano | Nano’s

    02

    fio基础13

    sync_file_range=str:valUsesync_file_range()forevery'val'numberofwriteoperations.Fiowilltrackrangeofwritesthathavehappenedsincethelastsync_file_range()call.'str'cancurrentlybeoneormoreof:wait_beforeSYNC_FILE_RANGE_WAIT_BEFOREwriteSYNC_FILE_RANGE_WRITEwait_afterSYNC_FILE_RANGE_WAIT_AFTERSoifyoudosync_file_range=wait_before,write:8,fiowoulduseSYNC_FILE_RANGE_WAIT_BEFORE|SYNC_FILE_RANGE_WRITEforevery8writes.Alsoseethesync_file_range(2)manpage.ThisoptionisLinuxspecific.overwrite=boolIftrue,writestoafilewillalwaysoverwriteexistingdata.Ifthefiledoesn't already exist, it will be created before the write phase begins. If the file exists and is large enough for the specified write phase, nothing will be done. end_fsync=bool If true, fsync file contents when a write stage has completed. fsync_on_close=bool If true, fio will fsync() a dirty file on close. This differs from end_fsync in that it will happen on every file close, not just at the end of the job. rwmixread=int How large a percentage of the mix should be reads. rwmixwrite=int How large a percentage of the mix should be writes. If both rwmixread and rwmixwrite is given and the values do not add up to 100%, the latter of the two will be used to override the first. This may interfere with a given rate setting, if fio is asked to limit reads or writes to a certain rate. If that is the case, then the distribution may be skewed. random_distribution=str:float By default, fio will use a completely uniform random distribution when asked to perform random IO. Sometimes it is useful to skew the distribution in specific ways, ensuring that some parts of the data is more hot than others. fio includes the following distribution models: random Uniform random distribution zipf Zipf distribution pareto Pareto distribution When using a zipf or pareto distribution, an input value is also needed to define the access pattern. For zipf, this is the zipf theta. For pareto, it'stheparetopower.Fioincludesatestprogram,genzipf,thatcanbeusedvi

    03

    Linux下怎样解压缩文件

    参数: -c :建立一个压缩文件的参数指令(create 的意思); -x :解开一个压缩文件的参数指令! -t :查看 tarfile 里面的文件! 特别注意,在参数的下达中, c/x/t 仅能存在一个!不可同时存在! 因为不可能同时压缩与解压缩。 -z :是否同时具有 gzip 的属性?亦即是否需要用 gzip 压缩? -j :是否同时具有 bzip2 的属性?亦即是否需要用 bzip2 压缩? -v :压缩的过程中显示文件!这个常用,但不建议用在背景执行过程! -f :使用档名,请留意,在 f 之后要立即接档名喔!不要再加参数!    例如使用『 tar -zcvfP tfile sfile』就是错误的写法,要写成    『 tar -zcvPf tfile sfile』才对喔! -p :使用原文件的原来属性(属性不会依据使用者而变) -P :可以使用绝对路径来压缩! -N :比后面接的日期(yyyy/mm/dd)还要新的才会被打包进新建的文件中! --exclude FILE:在压缩的过程中,不要将 FILE 打包! 范例: 范例一:将整个 /etc 目录下的文件全部打包成为 /tmp/etc.tar [root@linux ~]# tar -cvf /tmp/etc.tar /etc

    01
    领券