当前位置: 首页 > news >正文

网站开发技术文档包含论文网站建设与运营

网站开发技术文档包含,论文网站建设与运营,做网站容易学吗,安徽省住房和建设厅门户网站系列文章目录 【跟小嘉学 Linux 系统架构与开发】一、学习环境的准备与Linux系统介绍 【跟小嘉学 Linux 系统架构与开发】二、Linux发型版介绍与基础常用命令介绍 【跟小嘉学 Linux 系统架构与开发】三、如何查看帮助文档 文章目录 系列文章目录[TOC](文章目录) 前言一、 命令…系列文章目录 【跟小嘉学 Linux 系统架构与开发】一、学习环境的准备与Linux系统介绍 【跟小嘉学 Linux 系统架构与开发】二、Linux发型版介绍与基础常用命令介绍 【跟小嘉学 Linux 系统架构与开发】三、如何查看帮助文档 文章目录 系列文章目录[TOC](文章目录) 前言一、 命令的 --help 帮助说明二、man page2.1、man page 介绍2.2、man page 快捷2.3、man page 资料位置2.4、man 命令用法2.4.1、查看与 man 命令有关的文档2.4.2、查看对应类型的 man 命令的相关资料2.4.3、查找关键字有关的命令2.4.3、mandb 三、info3.1、info 命令介绍3.2、快捷键 四、其他有用的文件(documents)五、正确的关机方法 前言 前面我们讲解了基础的日历、日期与时间、计算器等命令以及常用的快捷键操作我们这一节详细讲解如何查看Linux的手册、文档、帮助信息等信息。 参考资料 《鸟哥的Linux私房菜繁体版》 《鸟哥的Linux私房菜简体版》 一、 命令的 --help 帮助说明 几乎 Linux 上的命令在开发的时候开发者就会将命令的语法与参数写入到指令操作手册上了你只需要使用 --help这个选项就能够将该命令的用法一个大致的理解。 我们拿最熟悉的 date 的命令来查看 [vagrant10 ~]$ date --help Usage: date [OPTION]... [FORMAT]or: date [-u|--utc|--universal] [MMDDhhmm[[CC]YY][.ss]] Display the current time in the given FORMAT, or set the system date.Mandatory arguments to long options are mandatory for short options too.-d, --dateSTRING display time described by STRING, not now-f, --fileDATEFILE like --date once for each line of DATEFILE-I[TIMESPEC], --iso-8601[TIMESPEC] output date/time in ISO 8601 format.TIMESPECdate for date only (the default),hours, minutes, seconds, or ns for dateand time to the indicated precision.-r, --referenceFILE display the last modification time of FILE-R, --rfc-2822 output date and time in RFC 2822 format.Example: Mon, 07 Aug 2006 12:34:56 -0600--rfc-3339TIMESPEC output date and time in RFC 3339 format.TIMESPECdate, seconds, or ns fordate and time to the indicated precision.Date and time components are separated bya single space: 2006-08-07 12:34:56-06:00-s, --setSTRING set time described by STRING-u, --utc, --universal print or set Coordinated Universal Time (UTC)--help display this help and exit--version output version information and exitFORMAT controls the output. Interpreted sequences are:%% a literal %%a locales abbreviated weekday name (e.g., Sun)%A locales full weekday name (e.g., Sunday)%b locales abbreviated month name (e.g., Jan)%B locales full month name (e.g., January)%c locales date and time (e.g., Thu Mar 3 23:05:25 2005)%C century; like %Y, except omit last two digits (e.g., 20)%d day of month (e.g., 01)%D date; same as %m/%d/%y%e day of month, space padded; same as %_d%F full date; same as %Y-%m-%d%g last two digits of year of ISO week number (see %G)%G year of ISO week number (see %V); normally useful only with %V%h same as %b%H hour (00..23)%I hour (01..12)%j day of year (001..366)%k hour, space padded ( 0..23); same as %_H%l hour, space padded ( 1..12); same as %_I%m month (01..12)%M minute (00..59)%n a newline%N nanoseconds (000000000..999999999)%p locales equivalent of either AM or PM; blank if not known%P like %p, but lower case%r locales 12-hour clock time (e.g., 11:11:04 PM)%R 24-hour hour and minute; same as %H:%M%s seconds since 1970-01-01 00:00:00 UTC%S second (00..60)%t a tab%T time; same as %H:%M:%S%u day of week (1..7); 1 is Monday%U week number of year, with Sunday as first day of week (00..53)%V ISO week number, with Monday as first day of week (01..53)%w day of week (0..6); 0 is Sunday%W week number of year, with Monday as first day of week (00..53)%x locales date representation (e.g., 12/31/99)%X locales time representation (e.g., 23:13:48)%y last two digits of year (00..99)%Y year%z hhmm numeric time zone (e.g., -0400)%:z hh:mm numeric time zone (e.g., -04:00)%::z hh:mm:ss numeric time zone (e.g., -04:00:00)%:::z numeric time zone with : to necessary precision (e.g., -04, 05:30)%Z alphabetic time zone abbreviation (e.g., EDT)By default, date pads numeric fields with zeroes. The following optional flags may follow %:- (hyphen) do not pad the field_ (underscore) pad with spaces0 (zero) pad with zeros^ use upper case if possible# use opposite case if possibleAfter any flags comes an optional field width, as a decimal number; then an optional modifier, which is either E to use the locales alternate representations if available, or O to use the locales alternate numeric symbols if available.Examples: Convert seconds since the epoch (1970-01-01 UTC) to a date$ date --date2147483647Show the time on the west coast of the US (use tzselect(1) to find TZ)$ TZAmerica/Los_Angeles dateShow the local time for 9AM next Friday on the west coast of the US$ date --dateTZAmerica/Los_Angeles 09:00 next FriGNU coreutils online help: http://www.gnu.org/software/coreutils/ Report date translation bugs to http://translationproject.org/team/ For complete documentation, run: info coreutils date invocationUsage: 表明 date 命令的语法格式接下来就是 [OPTION] 选项的内容在接下来就是格式化控制台输出的格式序列 二、man page 2.1、man page 介绍 date --help 并没有详细告诉你 STRING 是什么东西我们如果想要清清楚楚的知道该指令的用法。我们可以找 man 命令(manual). DATE(1) User Commands DATE(1)NAMEdate - print or set the system date and timeSYNOPSISdate [OPTION]... [FORMAT]date [-u|--utc|--universal] [MMDDhhmm[[CC]YY][.ss]]DESCRIPTIONDisplay the current time in the given FORMAT, or set the system date.Mandatory arguments to long options are mandatory for short options too.-d, --dateSTRINGdisplay time described by STRING, not now-f, --fileDATEFILElike --date once for each line of DATEFILE-I[TIMESPEC], --iso-8601[TIMESPEC]output date/time in ISO 8601 format. TIMESPECdate for date only (the default), hours, minutes,Manual page date(1) line 1 (press h for help or q to quit)DATE(1)括号中的1 代表 我们指令的内容这个编码从1-9有9个含义 1 用户交互的命令例如 ls、cp、man、grep等2 系统调用和内核函数3包含库函数和标准c函数4包含配置文件和设备文件5包含配置文件格式和协议6包含游戏和演示程序7包含惯例、协议、文件格式等8包含系统管理命令9和内核有关的文件 NAME命令的完整名称和命令用法SYNPSIS命令的基本语法DESCRIPTION详细说明语法中的选项参数的用法ENVIRONMENT与这个命令相关的环境参数EXAMPLES使用示例DATE STRING日期的格式说明AUTHOR命令的作者COPYRIGHT 版权声明SEE ALSO还可以查找的文档 2.2、man page 快捷 快捷键表格 按键作用空格键向下翻页[Page Down]向下翻一頁[Page Up]向上翻一頁[Home]去到第一頁[End]去到最後一頁/string向『下』查找 string 字符串?string向『上』查找 string 這個字串n, N利用 / 或 ? 來查找字串時可以用 n 來繼續下一個查找 (不论是 / 或 ?) 可以利用 N 來進行『反向』查找。q結束這次的 man page 2.3、man page 资料位置 不同的发行版存放的路径可能有点差异不过通常都是 在 /usr/share/man 目录我们可以man 的搜索路径来改善目录的问题 修改 /etc/man_db.conf 或 man.conf 或 manpath.conf或 man.config关于 man 命令的详细信息我们也可以通过 man man 命令来查询 2.4、man 命令用法 2.4.1、查看与 man 命令有关的文档 [vagrant10 ~]$ man -f man man (1) - an interface to the on-line reference manuals man (1p) - display system documentation man (7) - macros to format man pagesman -f 命令也可以使用 whatis 来替代 [vagrant10 ~]$ whatis man whatis: cant set the locale; make sure $LC_* and $LANG are correct man (1) - an interface to the on-line reference manuals man (1p) - display system documentation man (7) - macros to format man pages2.4.2、查看对应类型的 man 命令的相关资料 man 1 man man 7 man2.4.3、查找关键字有关的命令 man -k manman -k 命令也可以使用 apropos 命令来替代 apropos man2.4.3、mandb whatis 和 apropos 命令要能使用必须建立 whatis 资料库才可以可以在 root 账号下使用 下面命令来生成 [vagrant10 ~]$ su - # 切换到 root 账号 - 表示环境变量也切换 Password: Last login: Sun Mar 31 18:00:45 UTC 2024 on pts/0 [root10 ~]# mandb Purging old database entries in /usr/share/man... Processing manual pages under /usr/share/man... Purging old database entries in /usr/share/man/ru... Processing manual pages under /usr/share/man/ru... Purging old database entries in /usr/share/man/en... Processing manual pages under /usr/share/man/en... Purging old database entries in /usr/local/share/man... Processing manual pages under /usr/local/share/man... 0 man subdirectories contained newer manual pages. 0 manual pages were added. 0 stray cats were added. 0 old database entries were purged.三、info 3.1、info 命令介绍 info 命令 和 man 命令到用法差不多就是用来查询命令的用法或者文件的格式info page 是将文件拆成一个个段落每个段落有自己的页面来编写并且每个页面都有类似的超链接来跳到不同的页面。 info 命令的文件是存放在 /usr/share/info 目录之中. [root10 ~]# info infoFile: info.info, Node: Top, Next: Getting Started, Up: (dir)Info: An Introduction *********************The GNU Project distributes most of its on-line manuals in the Info format, which you read using an Info reader. You are probably using an Info reader to read this now.There are two primary Info readers: info, a stand-alone program designed just to read Info files (*note What is Info?: (info-stnd)Top.), and the info package in GNU Emacs, a general-purpose editor. At present, only the Emacs reader supports using a mouse.If you are new to the Info reader and want to learn how to use it, type the command h now. It brings you to a programmed instruction sequence.To read about advanced Info commands, type n twice. This brings you to Advanced Info Commands, skipping over the Getting Started chapter. --zz-Info: (info.info.gz)Top, 52 lines --Top------------------------------------------------------------------------------ No Prev or Up for this node within this document. File:代表info page 的资料来自 info.info 这个文件所提供Node代表目前这个页面属于Top节点意思是 info.info 内容有很多Top只是其中一部分内容Next下一个节点的名称为Getting Started你也可以按 N 跳到下一个节点Up回到上一层的节点你也可以按 U 来回到上一层Prev前一个节点但是TOP是第一个节点所以上面没有前一个节点的内容 3.2、快捷键 按键功能空格键向下翻一页[Page Down]向下翻一页[Page Up]向上翻一页[tab]在 node 之间移动有 node 的地方通常会以 * 显示。[Enter]当光标在 node 上面时按下 Enter 可以进入该 nodeb移动光标到该info 当中的第一个 node 处e移动光标到该info 当中的最后一个 node 处n前往下一个 node 处p前往上一个 node 处u向上移动一层s(/)在 info page 当中进行搜索h, ?显示帮助菜单q結束这次的 info page 四、其他有用的文件(documents) 一般而言命令或软件开发者都会将自己的命令或软件的说明制作成文档但是并不是所有的命令或软件都有。 这些文件一般都存放在 /usr/share/doc 例如 /usr/share/doc/grub2-tools-2.02五、正确的关机方法 关机的时候要注意几件事 观察系统的使用状态who、netstat -a 、ps -aux通知用户关机的:shutdown正确的关机和重启命令shutdown、reboot资料同步写入硬盘命令sync关机halt、poweroff、reboot管理工具init、systemctl
http://www.zqtcl.cn/news/192814/

相关文章:

  • 网站不显示域名解析错误怎么办公益网站设计
  • 怎么上传网站图片的链接手表网站排行榜
  • 网站推广方法100种百度排名规则
  • 上海专业网站建设公司站霸网络萝岗区网站建设推广
  • 做微商网站的公司永久免费crm管理系统
  • 网站开发的环境专业的建设网站
  • 公司网站建设知识注册网站备案
  • 营销型网站建设申请域名在域名做网站
  • 电商网站设计公司立找亿企邦山东德州网站建设哪家最好
  • 免费自建网站工具网站建设公司那个好
  • wordpress集成环境搭建短视频优化
  • 做网站一般把宽度做多少中国企业报集团官网
  • 什么软件可以建网站网站建设应该计入什么费用
  • 网站制作 手机版重庆网站建设mswzjs
  • 网站建设犀牛云品牌建设方案和思路
  • 网络管理系统的管理软件抖音优化推广
  • 昆山市有没有做网站设计的交互设计研究生
  • 本地网站asp iiswordpress 感染支付宝
  • 成都最专业做网站的wordpress升级500
  • 做网站首页图的规格网站建设的市场分析
  • a032网站模版自己建立网站怎么建
  • wordpress.商品厦门做网站优化价格
  • 学校网站建设源码视频生成链接网站
  • 江苏建设工程招投标网站wordpress 全部tags
  • 十堰网站建设有哪些公司wordpress删除摘要
  • 网站的功能和特色网页设计公司哪个济南兴田德润实惠吗
  • 汕头建站模板泰安建设银行网站
  • 服装平台网站有哪些网站开发 零基础
  • 致设计网站官网建设购物网站需要多少费用
  • 网站后台程序河南政务网站建设排名