[root@cs6-mini scripts]# cat /etc/rc.local #!/bin/sh # # This script will be executed *after* all the other init scripts. # You can put your own initialization stuff in here if you don‘t # want to do the full Sys V style init stuff. touch /var/lock/subsys/local [root@cs6-mini scripts]# tac /etc/rc.local touch /var/lock/subsys/local #<==可以着到是最后一行最先输出,但是这行文本的字符顺序并没有故变。 # want to do the full Sys V style init stuff. # You can put your own initialization stuff in here if you don‘t # This script will be executed *after* all the other init scripts. # #!/bin/sh
h或? 查看帮助 空格键 向下滚动一屏 z 向下滚动一屏 #<==说明:有很多参数的功能是一样的,因此大家记住一个即可 Enter 向下显示1行 f 向下滚动一屏 b 返回上一屏 = 输出当前行的行号 /查找的文本 查找指定的文本 :f 输出文件名和当前行的行号 !命令 调用Shell,并执行命令 q 退出more
[root@cs6-mini ~]# more -5 /etc/services # /etc/services: # $Id: services,v 1.48 2009/11/11 14:32:31 ovasik Exp $ # # Network services, Internet style # IANA services version: last updated 2009-11-10
[root@cs6-mini ~]# more +888 /etc/services cableport-ax 282/tcp # Cable Port A/X cableport-ax 282/udp # Cable Port A/X rescap 283/tcp # rescap rescap 283/udp # rescap corerjd 284/tcp # corerjd corerjd 284/udp # corerjd fxp 286/tcp # FXP Communication fxp 286/udp # FXP Communication k-block 287/tcp # K-BLOCK k-block 287/udp # K-BLOCK novastorbakcup 308/tcp # Novastor Backup novastorbakcup 308/udp # Novastor Backup entrusttime 309/tcp # EntrustTime entrusttime 309/udp # EntrustTime bhmds 310/tcp # bhmds bhmds 310/udp # bhmds asip-webadmin 311/tcp # AppleShare IP WebAdmin asip-webadmin 311/udp # AppleShare IP WebAdmin vslmp 312/tcp # VSLMP vslmp 312/udp # VSLMP magenta-logic 313/tcp # Magenta Logic magenta-logic 313/udp # Magenta Logic opalis-robot 314/tcp # Opalis Robot
[root@cs6-mini ~]# ls /etc/|more -10 adjtime aliases aliases.db alternatives anacrontab audisp audit bash_completion.d bashrc blkid
原文:https://www.cnblogs.com/fadewalk/p/10890365.html