linux命令历史
本人qq群也有许多的技术文档,希望可以为你提供一些帮助(非技术的勿加)。
QQ群: 281442983 (点击链接加入群:http://jq.qq.com/?_wv=1027&k=29LoD19) QQ:1542385235
4 /etc/init.d/mysqld restart
5 - mysqladmi -uroot -p password 1qazxsw23edc
6 mysql
7 mysql -uroot -p
8 cd /
9 /etc/init.d/httpd restart
10 /etc/init.d/httd stop
11 cd /
12 /etc/init.d/httd stop
13 /etc/init.d/httpd stop
14 /etc/init.d/httpd start;
15 /etc/init.d/httpd start
16 yum install php-gd
17 /etc/init.d/httpd rstart
18 /etc/init.d/httpd restart
19 chkconfig httpd on
20 yum install php-libevent
21 yum -y install libevent-devel
22 Yum -y install memcached
23 yum -y install memcached
24 yum -y install php-pecl-memcache
25 Memcached -h
26 memcached -h
27 top
28 cd /
29 /etc/init.d/mysqld restart
30 /etc/init.d/httpd restart
31 find -name httpd
32 find -name httpd
33 CD /
34 cd /
35 find -name httpd
36 find -name vhost
37 find -name vhost.conf
38 /etc/init.d/httpd restart
39 find -name php
40 cd /
41 find -name php
42 find -name ss.php
43 /home/www/html/cy/ss.php
44 cd /
45 /home/www/html/cy/ss.php
46 php /home/www/html/cy/ss.php
47 php -v
48 php /home/www/html/cy/ss.php
49 php /home/www/html/cy/a.php
50 phpize
51 find -name php.ini
52 php -s /home/www/html/cy/a.php
53 top
54 php -s /home/www/html/cy/ss.php
55 crontab -3
56 crontab -e
57 cd usr
58 cd /usr
59 ll
60 cd bin
61 ll
62 find ./ name curl
63 find ./ name cu
64 find ./ name c
65 cd /
66 find / -name curl
67 crontab -e
68 crontab -e
69 cd /
70 /home/www/html/cy
71 cd /home/www/html/cy
72 / crontab.sh
73 ls
74 vi -b crontab.sh
75 / crontab.sh
76 vi -b crontab.sh
77 /cd /
78 cd /etc/crontab
79 cd /etc
80 ls
81 cat /crontab
82 cd /
83 cd /home
84 ls
85 cd www
86 ls
87 cd html
88 ls
89 cd cy
90 ls
91 / crontab.sh
92 vi -b crontab.sh
93 / crontab.sh
94 vi -b crontab.sh
95 ls
96 . crontab.sh
97 vi -b crontab.sh
98 . crontab.sh
99 crontab
100 cro
101 crontab -e
102 ls
103 . crontab.sh
104 crontab -e
105 cd /
106 find -name root
107 crontab -e
108 ps -aux
109 ps -ef
110 crontab -e
111 ps -ef
112 crontab -e
113 ps -ef
114 ps -aux
115 rpm -q mysql
116 mysql
117 cd /
118 find -name root
119 crontab -e
120 startx
121 mysql
122 mysqldata
123 mysql
124 /etc/rc.d/init.d/mysqld status
125 /etc/rc.d/init.d/
126 /etc/rc.d/init.d/mysqld status
127 /etc/rc.d/init.d/mysqld start
128 mysql -u
129 service mysqld start
130 df-lh
131 ps -aux
132 ps -aux|grep mysql
133 kill 27082
134 kill 27075
135 ps -aux|grep mysql
136 kill 30015
137 ps -aux|grep mysql
138 kill 30965
139 ps -aux|grep mysql
140 kill 767
141 ps -aux|grep mysql
142 /etc/rc.d/init.d/mysql start
143 service mysqld start
144 shutdown -r now
145 service mysqld start
146 ps -aux|grep mysql
147 kill19097;kill 19100
148 kill 1
149 ps -aux|grep mysql
150 kill 3824 33.2
151 kill 3824
152 ps -aux|grep mysql
153 kill 3824
154 kill 11980
155 kill 11982
156 ps -aux|grep mysql
157 kill 3824
158 kill 18630
159 kill 3824
160 ps -aux|grep mysql
161 service mysql restart
162 service mysqld restart
163 history
164 mysql -uroot -p
165 mysqld
166 datadir=/store/db/mysql
167 /etc/init.d/mysqld restart
168 /etc/init.d/mysqld start
169 df -ah
170 find / -size +1024M
171 cd /
172 find / -size +1024M
173 cd /
174 find / -size +500M
175 find / -size +1M
176 cd /
177 ll
178 cd home
179 ll
180 cd www
181 ll
182 cd html/
183 ll
184 cd cy/
185 ll
186 cd cyAdminKj/
187 ll
188 rm -rf Runtime/
189 df -ah
190 /etc/init.d/httpd restart
191 df -ah
192 ll
193 cd ..
194 ll
195 cd MyAdmin/
196 ll
197 cd ..
198 ll
199 cd exAdminPer/
200 ll
201 rm -rf Runtime/
202 ll
203 /etc/init.d/httpd restart
204 df -ah
205 cd /
206 ll
207 cd bin/
208 ll
209 /etc/init.d/httpd restart
210 df -ah
211 /etc/init.d/httpd stop
212 /etc/init.d/httpd start
213 df -ah
214 find / -name mysql
215 find / -name mysql.*
216 find / -size +100M
217 find / -size +50M
218 find / -size +1G
219 /etc/init.d/httpd restart
220 df -ah
221 /etc/init.d/httpd restart
222 df -ah
223 ll
224 whoami
225 ll
226 ls
227 cd /mnt
228 ll
229 services iptables status
230 service iptables status
231 pwd
232 cd /
233 llclear
234 ll
235 cd mnt
236 ll
237 cd /home
238 ll
239 ls
240 cd www
241 ll
242 use mysql
243 cd /user/local/mysql/bin/mysql -u root -p
244 user/local/mysql/bin/mysql -u root -p
245 cd /
246 use mysql
247 cd /usr/local/mysql/bin/mysql -u root -p
248 cd /usr/
249 ll
250 cd local
251 ll
252 cd bin
253 ll
254 cd ..
255 cd etc
256 ll
257 cd bin
258 cd ..
259 cd bin
260 cd mysql
261 show
262 display
263 ll
264 cd /
265 ll
266 cd /
267 ll
268 fing mysql
269 cd etc
270 ll
271 vi my.cnf
272 use mydwl
273 use myl
274 use mysqluse mysql
275 grant all on *.* to root@’%’
276 mysql
277 cd /
278 mysql
279 chkconfig --list|grep mysql*chkconfig --list|grep mysql*
280 chkconfig --list|grep mysql*chkconfig --list|grep mysql
281 ps -ef|grep mysql
282 service iptalbes status
283 mysql -uroot -p
284 mysql
285 mysql -uroot -p
286 cd /
287 mysql -uroot -p
288 su root
289 su mysql
290 mysql -uroot -p
291 mysql
292 mysql -uroot -p
293 cd /
294 ll
295 service iptables status
296 top
297 ps -aux | grep mysql
298 cd /
299 ps -aux | grep mysql
300 ps -aux|grep mysql
301 netstat -apn
302 which
303 which --all
304 which mysql
305 which nginx
306 cat /etc/passwd
307 w
308 cat /etc/group
309 who
310 no pain no gain
311 ls
312 ll
313 cd /
314 ll
315 cd .
316 cd /
317 ll
318 cd home
319 ll
320 cd www
321 ll
322 cd html
323 ll
324 cd cy
325 ll
326 w
327 cd /
328 ll
329 services
330 services iptables
331 service iptables status
332 ll
333 cd /
334 ll
335 use mysql
336 mysql
337 mysqladmin start
338 find mysql
339 mysqladmin restart
340 mysql -uroot -p
341 mysql -uroot -p123456
342 mysql -uroot -p
343 su root
344 mysql -uroot -p
345 cd /
346 ll
347 cd etc
348 ll
349 vi/my.conf
350 var/my.conf
351 vi my.conf
352 vi my.cnf
353 service mysqld restart
354 use mysql
355 service mysqld restart
356 use mysql
357 mysql;
358 mysql
359 ps -ef|grep mysql
360 service mysqld start
361 hostname
362 find / -name <iZ23sl60d6gZ>.err
363 find / -name <iZ23sl60d6gZ>.erriZ23sl6od6gZ
364 find / -name <iZ23sl6od6gZ>.err
365 cd /
366 ll
367 cd etc
368 ll
369 vi/my.cnf
370 var/my.conf
371 var my.conf
372 vi my.cnf
373 /var/log/mysqld.log
374 cd ..
375 /var/log/mysqld.log
376 cd ..
377 /var/log/mysqld.log
378 ;;
379 ll
380 cd lib
381 ll
382 cd ..
383 /etc/init.d/mysql restart
384 cd etc
385 ll
386 cd init.d
387 mysql restart
388 service mysqld start
389 ps aux |grep mysqld
390 ps aux |grep mysqld /etc/init.d/mysqld status
391 mysql -uroot -p -e"show status\G;"
392 /etc/init.d/mysqld restart
393 ll
394 cd /
395 ll;
396 cd /
397 ll
398 cd etc
399 ll
400 df -lh
401 fdisk -l
402 parted /dev/sda
403 cd /
404 parted /dev/sda
405 cd /
406 ll
407 cd lib
408 ll
409 cd ..
410 ll
411 cd mnt
412 ll
413 cd lib64
414 cd ..
415 cd lib64
416 ll
417 cd ..
418 ll
419 cd tmp
420 ll
421 cd ..
422 ll
423 cd lib
424 ll
425 cd cpp
426 cd udev
427 ll
428 cd ..
429 cd /
430 ps aux |grep mysql
431 show master logs
432 SHOW MASTER LOGS
433 SERVICE MYSQLD RESTART
434 service mysqld restart
435 ps -aux|grep mysql
436 df
437 df -lh mysql
438 df help
439 df -h
440 du --max-depth=1
441 service mysqld restart
442 ll
443 cd etc
444 ll
445 cd my.cnf
446 var/my.cnf
447 Timeout error occurred trying to start MySQL Daemon.
448 cd ..
449 ll
450 cd etc
451 ll
452 cat my.cnf
453 cd ..
454 cd lib
455 ll
456 cd..
457 cd ..
458 df -h
459 ll
460 cd var
461 ll
462 cd log
463 ll
464 cd/
465 cd /
466 ll
467 cd var
468 cd log
469 ll
470 cd ..
471 chmod 777 /log
472 chmod 777 log
473 cd log
474 ll
475 cd ..
476 chmod -R 777 log
477 cd log
478 ll
479 service mysqld restart
480 cd /
481 ll
482 cd etc
483 ll
484 var my.cnf
485 vi my.cnf
486 df -h
487 df -h
488 cd /
489 ll
490 cd etc
491 ll
492 vi my.cnf
493 cd ..
494 ll
495 cd usr
496 ll
497 cd local
498 ll
499 ls
500 cd /
501 use mysql
502 mysql
503 service mysqld restart
504 reset master
505 cd /
506 service mysqld restart
507 df -h
508 service mysqld restart
509 lsof -i:3306
510 LSof -i:3306
511 vi /etc/my.cnf
512 service mysqld restart
513 df -h
514 df -h
515 service mysqld start
516 vi /etc/my.cnf
517 service mysqld restart
518 vi /etc/my.cnf
519 service mysqld restart
520 df -h
521 mysql
522 vi /etc/my.cnf
523 service mysqld restart
524 vi /etc/my.cnf
525 service mysqld restart
526 vi /etc/my.cnf
527 service mysqld restart
528 df -h
529 vi /etc/my.cnf
530 service mysqld restart
531 vi /etc/my.cnf
532 service mysqld restart
533 skip-innodb
534 mysql
535 vi /etc/my.cnf
536 service mysqld restart
537 vi /etc/my.cnf
538 service mysqld restart
539 vi /etc/my.cnf
540 cat /etc/my.cnf
541 service mysqld restart
542 mysql
543 vi /etc/my.cnf
544 service mysqld restart
545 mysql
546 vi /etc/my.cnf
547 service mysqld restart
548 mysql
549 vi /etc/my.cnf
550 mysql
551 service mysqld restart
552 mysql
553 vi /etc/my.cnf
554 ps -ef|grep mysql
555 vi /etc/my.cnf
556 service mysqld restart
557 vi /etc/my.cnf
558 service mysqld restart
559 vi /etc/my.cnf
560 service mysqld restart
561 vi /etc/my.cnf
562 service mysqld restart
563 vi /etc/my.cnf
564 service mysqld restart
565 ls -al
566 cd /usr/lib64/mysql/plugin/
567 service mysqld restart
568 mysql
569 vi /etc/my.cnf
570 service mysqld restart
571 vi /etc/my.cnf
572 service mysqld restart
573 vexit;
574 ;;
575 df -h
576 service mysqld restar
577 service mysqld restart
578 cd /
579 find / -type f -size +10000k
580 find / -type f -size +5000k
581 service mysqld restart
582 df -h
583 tail -n /var/spool/postfix/maildrop/12F71297B3
584 tail -n 1 /var/spool/postfix/maildrop/592E2299CF
585 df -h
586 vi /etc/my.cnf
587 find / -type f -size +5000k
588 df -h
589 find / -type f -size +10000k
590 df -h
591 vi /etc/crotab
592 vim /etc/crontab
593 /sbin/service crond reload
594 df -h
595 find / -type f -size +5000k
596 crontab -e
597 vim /etc/crontab
598 /sbin/service crond reload
599 crontab -e
600 df -h
601 vim /etc/crontab
602 df -h
603 /sbin/service crond reload
604 vim /etc/crontab
605 df -h
606 vim /etc/crontab
607 crontab -e
608 df -h
609 crontab -e
610 df -h
611 crontabl -x
612 crontabl -e
613 crontab -e
614 /sbin/service crond reload
615 crontab -e
616 /sbin/service crond reload
617 df -h
618 df -h
619 crontab -e
620 df -h
621 df -h
622 df -h
623 crontab -h
624 crontab -e
625 df -h
626 df -h
627 vim/etc/passwd
628 vi /etc/passwd
629 find / -type f -size =1G
630 find / -type f -size =100
631 find / -type f -size =1000k
632 find / -type f -size +1000k
633 df -h
634 ctontab -e
635 crontab -e
636 find / -type f -size +20000k
637 find / -type f -size +15000k
638 find / -type f -size +10000k
639 find / -type f -size +8000k
640 rmdir /var/spool/postfix/maildrop/96385C0840
641 rm -f /var/spool/postfix/maildrop/96385C0840
642 find / -type f -size +8000k
643 find / -empty
644 df -h
645 crontab -l
646 service crond status
647 service httpd status
648 ls etc/cron*
649 cat /var/log
650 cd /var/log
651 ls
652 cat /etc/crontab
653 cd /var/spool/cron
654 ll
655 ls
656 tail -f /var/log/con
657 cd ~
658 ls -a
659 date +%w
660 test 'date +%w' -eq 0
661 echi $?
662 echo $?
663 test 1=1 && echo hello
664 crontab -e
665 date:sleep 0.5s;date
666 date
667 tail -f /var/log/cron
668 crontab -l
669 whoami
670 df -h
671 ll
672 groups
673 /etc/group
674 cd /etc
675 ll
676 cat group
677 crontab -e
678 df -h
679 service iptables status
680 iptables
681 find / -type f -size +10000k
682 jobs
683 top
684 jobs
685 top
686 jobs
687 man
688 man ls
689 man jobs
690 man ls
691 man date
692 date
693 man ls
694 man services
695 man passwd
696 whereis passwd
697 whatis ls
698 wahtis top
699 whatis top
700 man date
701 man pwf
702 man pwd
703 df -h
704 chrontab -e
705 crontab -e
706 set
707 echo $path
708 echo $
709 echo $PATH
710 echo $path
711 crontab -e
712 ps -ef|grep
713 ps -ef|grep nginex
714 ps -ef|grep nginx
715 service iptables status
716 service nginx reload
717 whoami
718 ps -aux | grep nginx
719 use mysql
720 mysql
721 cat /etc/crontab
722 tail -f date
723 tail -f
724 wahtis ls
725 whatis ll
726 whatis ls
727 find *.sh
728 *sh
729 /d
730 ps1
731 PS1
732 ls;cd /user ;date
733 ls
734 cd /
735 ls
736 cd tmp
737 ll
738 ls
739 cd /
740 ls
741 cd dev
742 ls
743 cd zero
744 cd root
745 cd /root
746 ll
747 ls
748 ll
749 cd tmp
750 cd
751 cd /
752 ll
753 cd dev
754 ls
755 cat bus
756 cat full
757 cd ..
758 ls
759 cd tmp
760 ls
761 tauch pp
762 tauch pp.php
763 touch pp.php
764 ll
765 vi pp.php
766 cat pp.php
767 rm -f pp.php
768 ls
769 touch pp.php
770 ls
771 vi pp.php
772 cat pp.php
773 rm pp.php
774 ls
775 touch pp.txt
776 ls
777 vi pp.txt
778 pwd
779 date;dd if=/tmp/pp.txt of=/tmp/testfile bs=1k count=10000;date
780 ls
781 ll
782 cat testfile
783 rm -f testfile
784 ls
785 ll
786 rm -f pp.txt
787 ll
788 ls && echo yes
789 lll && echo yes
790 ll -a/etc/ |more
791 ll -a /etc/ | more
792 ll -a /etc/
793 netstat -an
794 grep -n --color-auto "root" /etc/passwd
795 grep -n --color=auto "root" /etc/passwd
796 netstat -an | grep ESTABLISHED
797 echo \
798 echo \\
799 echo 'abc'
800 echo "ab\tc"
801 echo -e "ab\tc"
802 crontab -e
803 dos2unix
804 yum -y install dos3unix
805 yum -y install dow2unix
806 yum -y install dos2unix
807 差点、
808 cd /
809 ll
810 mkdir sh
811 ll
812 cd sh
813 ll
814 chmod 755 testfile.sh
815 ll
816 ./testfile/sh
817 ./testfile.sh
818 cat testfile.sh
819 ./testfile.sh
820 cat -A testfile.sh
821 dos2unix testfile.sh
822 cat -A testfile.sh
823 ./testfile.sh
824 df -h
825 cd /
826 ll
827 cd sh
828 ll
829 cd ..
830 cat /root/sh
831 cat /root/sh/tsetfile.sh
832 pwd
833 cat/sh/testfile/sh
834 cat/sh/testfile.sh
835 cat /sh/testfile.sh
836 ./sh/testfile.sh
837 ll
838 top
839 crontab -e
840 /sbin/service crond reload
841 history
842 df -h
843 rpm -qa|grep mysql
844 crontab -l
845 man crontab
846 whatis crontab
847 /etc/passwd\
848 /etc/passwd
849 cat /etc/passwd
850 ls
851 ./sh/testfile.sh
852 cd /
853 ll
854 ./sh/testfile.sh
855 ls
856 ll
857 ./sh/testfile.sh
858 hostory
859 history
860 df -h
861 crontab -e
862 df -h
863 ll
864 df -h
865 yum list
866 ifconfig
867 yum list
868 yum grouplist
869 show variables like 'show%';
870 show variables like 'slow_query_log';
871 mysql
872 tail -50 /home/mysql/data/mysql-slow.log
873 tail -50 /var/run/mysqld/mysqld-slow.log
874 set global slow_query_log=on;
875 show variables like 'slow%';
876 mysql
877 show variables like 'slow%';
878 mysql
879 cat /var/run/mysqld/mysqld-slow.log
880 use mysql\
881 use mysql
882 mysql
883 df -f
884 df -h
885 yum install iftop -y
886 nethogs
887 nload
888 iftop -i
889 ifconfig
890 iftop -i eth1
891 sudo wondershaper eh1 2000
892 wondershaper eh1 2000
893 rpm -ivh wondershaper-1.1a-7.noarch.rpm
894 cd usr
895 cd /
896 cd usr
897 mkdir wondershaper
898 tar -zxvf wondershaper/wondershaper-1.1a.tar.gz
899 cd wondershaper
900 tar -zxvf wondershaper-1.1a.tar.gz
901 ll
902 ls
903 tar -zxvf wondershaper-1.1a.tar.gz
904 rpm -ivh wondershaper-1.1a-7.noarch.rpm
905 wondershaper eth1 2000 1000
906 wondershaper clear
907 wondershaper clear eth1
908 wondershaper eth1 3000 1000
909 wondershaper clear eth1
910 wondershaper eth1 3000 2000
911 wondershaper clear eth1
912 wondershaper eth1 3000 2000
913 history
914 version
915 cat /version
916 mysql
917 find -name vhost
918 php
919 php /home/www/html/cy/a.php
920 vim /home/www/html/cy/a.php
921 php /home/www/html/cy/a.php
922 mysql dumpslow -m
923 mysql dumpslow -h
924 mysqldumpslow -h
925 show variables like 'slow%';
926 mysql
927 ll
928 cd /
929 cat /usr/local/nginx/conf/servers
930 cd /usr/local/nginx/conf/servers
931 cd usr
932 ll
933 cd local
934 ll
935 cd ..
936 cd /
937 ll\
938 ll
939 cd mnt
940 ll
941 ls
942 cat /etc/nginx/conf.d
943 cd /etc
944 ll
945 ps aux | grep nginx
946 cd /
947 ps aux | grep nginx
948 chkconfig --list
949 pa aux |grep httpd
950 ps aux |grep httpd
951 nginx -v
952 ./nginx -v
953 top
954 services
955 service
956 service nginx status
957 services nginx status
958 nginx -v
959 nginx -V
960 ps -ef | grep nginx
961 ps aux | grep httpd
962 apache -v
963 /usr/sbin/httpd -v | grep "server_config_file"
964 /usr/sbin/httpd -v | grep "SERVER_CONFIG_FILE"
965 /usr/sbin/httpd -V | grep "SERVER_CONFIG_FILE"
966 cat /conf/httpd/conf
967 ll
968 cd sbin
969 ll
970 cd ..
971 ll
972 cd usr
973 ll
974 cd sbin
975 ll
976 cat httpd
977 cd ..
978 ll
979 cd sbin
980 ll
981 pa aux | grep httpd
982 ps aux | grep httpd
983 /usr/sbin/httpd -V | grep "SERVER_CONFIG_FILE"
984 cd /
985 ll
986 cd etc
987 ll
988 cat host.conf
989 vim host.conf
990 ps -ef
991 ps -f | grep nginx
992 ps -ef
993 ps -ef | grep nginx
994 ps -ef | grep apache
995 find / -name httpd.conf
996 cd httpd
997 cd conf
998 cat httpd.conf
999 crontab -e
1000 df -h
1001 crontab
1002 crontab -e
1003 history
本人qq群也有许多的技术文档,希望可以为你提供一些帮助(非技术的勿加)。
QQ群: 281442983 (点击链接加入群:http://jq.qq.com/?_wv=1027&k=29LoD19) QQ:1542385235
我的淘宝店,可以进去逛逛噢:https://shop108912636.taobao.com/index.htm?spm=2013.1.w5001-7867000954.3.1d29318dPlLar7&scene=taobao_shop
linux命令历史的更多相关文章
- linux怎么样显示命令历史后又显示命令的输入时间
linux的bash内部命令history就可以显示命令行的命令历史,默认环境执行 history命令后,通常只会显示已执行命令的序号和命令本身.如果想要查看命令历史的时间戳,那么可以执行: 临时显示 ...
- 每日linux命令学习-历史指令查询(history、fc、alias)
linux历史机制对命令行中输入的命令进行编号并依此保存,以维护命令历史.登录会话期间输入的命令保存在shell内存中,若终止命令则添加至历史文件. 1. 箭头符号方向键 使用键盘上的箭头方向键可以从 ...
- linux学习11 Linux基础命令及命令历史
一.Linux系统上的文件类型 1.- :常规文件:在其它程序中用f表示.比如我们用ls -l命令查看的第一个内容 [root@localhost ~]# ls -l total -rw------- ...
- Linux centos7 shell 介绍、 命令历史、命令补全和别名、通配符、输入输出重定向
一.shell介绍 shell脚本是日常Linux系统管理工作中必不可少的,不会shell,就不是一个合格管理员. shell是系统跟计算机硬件交互使用的中间介质,一个系统工具.实际上在shell和计 ...
- Linux实战案例(4)CentOS清除用户登录记录和命令历史方法
CentOS清除用户登录记录和命令历史方法 清除登陆系统成功的记录[root@localhost root]# echo > /var/log/wtmp //此文件默认打开时乱码,可查到ip等信 ...
- linux查看用户登录时间以及命令历史
1.查看当前登录用户信息 who命令: who缺省输出包括用户名.终端类型.登陆日期以及远程主机. who /var/log/wtmp 可以查看自从wtmp文件创建以来的每一次登陆情况 (1)-b:查 ...
- ref:linux查看用户登录时间以及命令历史
ref:https://blog.csdn.net/csdn924618338/article/details/73555725/ 1.查看当前登录用户信息 who命令: who缺省输出包括用户名.终 ...
- linux 用户管理(3)----查看用户登录时间以及命令历史
1.查看当前登录用户信息 who命令: who缺省输出包括用户名.终端类型.登陆日期以及远程主机. who /var/log/wtmp 可以查看自从wtmp文件创建以来的每一次登陆情况 (1)-b:查 ...
- linux history(命令历史)
1.bash中默认命令记忆可达1000个.这些命令保存在主文件夹内的.bash_history中. 2.~/.bash_history:记录的是前一次登录以前所执行过的命令.至于本次登录的命令暂时存储 ...
随机推荐
- react介绍、环境搭建、demo运行实例
React官网:https://reactjs.org/docs/create-a-new-react-app.html cnpm网址:http://npm.taobao.org/ 1.react介绍 ...
- 递归选中easyui树
$(function(){ // var data1 = [ // { // "id": 3, // "text": "3组织", // & ...
- windows10上同时安装py2和py3的情况
2018-06-14 16:14:51 1.同时安装python2和python3的时候,pip只是其中一个版本,使用对应Python版本的pip时,在命令行分别输入如下命令: 查看不同Python ...
- magento form.html不显示 window 和 Linux下的区别
window 无大小写区别,所以可以显示表框 Linux 大小写敏感,显示不了 \app\code\community\Company\BabyPay\Model\Payment.php 里定义了fo ...
- Linux中安装配置KVM虚拟化
KVM 概述: KVM 即 Kernel-based Virtual Machine 基于内核的虚拟机. KVM,是一个开源的系统虚拟化模块,自 Linux 2.6.20 之后集成在 Linux 的各 ...
- 《剑指offer》面试题6 重建二叉树 Java版
(由一个二叉树的前序和中序序列重建一颗二叉树) 书中方法:我们要重建一棵二叉树,就要不断地找到根节点和根节点的左子结点和右子节点.注意前序序列, 它的第一个元素就是二叉树的根节点,后面的元素分为它的左 ...
- mysql整理-常用sql语句
一.常用sql show variables like 'character_set_client';#查询字符集 show databases;#列出所有的服务器上的数据库alter create ...
- Quartz的job中注入的services接口为空的解决办法
自己重新定义一个类继承AdaptableJobFactory类 public class JobFactory extends AdaptableJobFactory { @Autowired pri ...
- vim学习(二)之模式
vim模式 基本上 vi/vim 共分为三种模式,分别是命令模式(Command mode),输入模式(Insert mode)和底线命令模式(Last line mode). 命令模式: 用户刚刚启 ...
- Mac中如何高亮显示当前git分支以及相关切换系统默认shell操作
前言 在开发中对于使用git的同学,肯定会需要高亮显示当前分支,我们今天就来说一种最简单的办法,先来看一下效果图 实现 1.安装item2 https://www.iterm2.com 2.安装oh- ...