RH033 Unit 3 Running Command and Getting Help
2009-10-16 00:30
239 查看
运行命令 命令 选项 参数(文件,目录) 每一项之间用空格隔开,多个空格被看作为一个空格处理 多个选项可合并在一起使用 单字母选项通常用“-”作开头 -a –b -c可以合并作-abc
全拼词选项通常用“--”作开头 如--help
多条命令同时执行 comm1;comm2;comm3
一些简单命令 date [mmddhhmmyyyy]:显示或修改系统日期和时间
date 101613512009 设置系统时间为2009年10月16日13点51分
注:运行完date命令后最好再运行一次hwclock -w,将新设置的系统时间同步至硬件时钟 Linux始终分硬件时钟和系统时钟,硬件时钟为主板上的时钟设备,系统时钟为开机后的kernel时钟 cal:显示当前或指定的月份月历
cal –j 显示当日为本年第几天
cal mouth year 查询某年某月月历
获取帮助 command --help man/info comm 查看某条命令或程序的帮助手册manual man使用技巧: /keyword 搜索关键字
n 向下查找
N 向上查找
q 退出
/usr/share/doc 存放所有应用程序的文档(帮助、模板) whatis 相当于man -f,查看与此命令或程序相关的手册 whatis comm 在whatis索引库中搜寻特定命令comm(匹配名称)
apropos name 在whatis索引库中搜寻含name关键字的信息(匹配内容)
须先运行makewhatis makewhatis 建立索引资料库,系统默认午夜自动运行,若为建立,可手动运行,时间较长,cpu占用高
全拼词选项通常用“--”作开头 如--help
多条命令同时执行 comm1;comm2;comm3
一些简单命令 date [mmddhhmmyyyy]:显示或修改系统日期和时间
date 101613512009 设置系统时间为2009年10月16日13点51分
注:运行完date命令后最好再运行一次hwclock -w,将新设置的系统时间同步至硬件时钟 Linux始终分硬件时钟和系统时钟,硬件时钟为主板上的时钟设备,系统时钟为开机后的kernel时钟 cal:显示当前或指定的月份月历
cal –j 显示当日为本年第几天
cal mouth year 查询某年某月月历
获取帮助 command --help man/info comm 查看某条命令或程序的帮助手册manual man使用技巧: /keyword 搜索关键字
n 向下查找
N 向上查找
q 退出
/usr/share/doc 存放所有应用程序的文档(帮助、模板) whatis 相当于man -f,查看与此命令或程序相关的手册 whatis comm 在whatis索引库中搜寻特定命令comm(匹配名称)
apropos name 在whatis索引库中搜寻含name关键字的信息(匹配内容)
须先运行makewhatis makewhatis 建立索引资料库,系统默认午夜自动运行,若为建立,可手动运行,时间较长,cpu占用高
相关文章推荐
- RH033 Unit3 Running Commands and Getting Help
- Unit 2: Running Command and Getting Help
- RH033 Unit3 Running Commands and Getting Help
- rche033 unit2-running commands and getting help
- Walkthrough: Creating and Running Unit Tests for Managed Code
- <Android开源库> Realm For Android~ Getting Help and Models(译文)
- Cocos2D HTML5 tutorial 1: Getting set up and running
- Kibana User Guide [4.2] » Getting Kibana Up and Running
- Detect if the UnitTest is running and fix the AppDomain.BaseDirectory in VS 2008
- GETTING UP AND RUNNING WITH NODE.JS, EXPRESS, JADE, AND MONGODB
- Getting started with unit tests in Qt Creator and Catch
- GETTING UP AND RUNNING WITH NODE.JS, EXPRESS, JADE, AND MONGODB
- getting git-svn up and running on ubuntu
- THE DEAD-SIMPLE STEP-BY-STEP GUIDE FOR FRONT-END DEVELOPERS TO GETTING UP AND RUNNING WITH NODE.JS,
- Difference between help, info and man command
- RH033 Unit1 Linux Ideas and History
- RH033 Unit1 Linux Ideas and History
- linux command Line and shell script bible(笔记十五)
- Coursera-Getting and Cleaning Data-week4-R语言中的正则表达式以及文本处理
- Storage rage: Like getting a nice steak and being told to only eat 80% of it