Linux???less????
???????????? ???????[ 2016/1/20 11:10:09 ] ?????????????? Linux
????less ???????????????????????з?????????????????linux???????????????????????????less ???÷????? more ??????е????
???????3?????????????ü???????less??????
????????
????history | less
?????????
1 [root@localhost test]# history | less
2 22 scp -r tomcat6.0.32 root@192.168.120.203:/opt/soft
3 23 cd ..
4 24 scp -r web root@192.168.120.203:/opt/
5 25 cd soft
6 26 ls
7 27 scp -r jdk1.6.0_16/ root@192.168.120.203:/opt/soft
8 28 clear
9 29 vim /etc/profile
10 30 vim /etc/profile
11 31 cd tomcat6.0.32/bin/
12 32 ls
13 33 ./shutdown.sh
14 34 ./startup.sh
15 35 vim startup.sh
16 36 ls
17 37 echo $JAVA_HOME
18 38 java
19 39 ls
20 40 ls
21 41 clear
22 42 cd /opt
23 43 ls
24 44 cp apache-tomcat-6.0.32.tar.gz soft/
25 45 ls
26 46 rm -f apache-tomcat-6.0.32.tar.gz
27 47 ls
28 48 cd soft
29 49 ls
30 50 tar -vzf apache-tomcat-6.0.32.tar.gz
31 51 tar -vzfx apache-tomcat-6.0.32.tar.gz
32 52 tar -zxvf apache-tomcat-6.0.32.tar.gz
33 53 ls
34 54 cd apache-tomcat-6.0.32
35 55 ls
36 56 cd ..
37 57 mv apache-tomcat-6.0.32 tomcat6.0.32
38 58 ls
39 59 cd tomcat6.0.32/
40 60 ls
???????5???????????
????????
????Less log2013.log log2014.log
?????????
?????????
???????? ??n???л??? log2014.log
???????? ??p ???л???log2013.log
????5????????
????1??.???????
????ctrl + F - ?????????
????ctrl + B - ?????????
????ctrl + D - ??????????
????ctrl + U - ??????????
????2??.???е???
????j - ?????????
????k - ?????????
????3).????????
????G - ??????????
????g - ??????????
????q / ZZ - ??? less ????
????4).?????????????
????v - ???????????????????
????h - ??? less ????????
????&pattern - ?????????????У??????????????
????5).??????
????????? less ?????????????????κ????λ?????????????????????????????????????λ???
????ma - ??? a ??????????λ??
????'a - ????????? a ??
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11