在Linux中使用Shell写一个显示目录结构的命令,快速寻找目录结构。 1、代码 #!/usr/bin/env bash # 本命令用于显示指定路径或者当前路径的文件结构,支持搜索 # tf 显示当前目录的文件结构 # tf 接关键词 搜索当前目录 # tf 目录 关键词 搜索指定目录 # 本命令 ...
分类:
系统相关 时间:
2020-12-21 11:34:00
阅读次数:
0
思维导图 Apache(httpd)详解 1. httpd服务 1.1 httpd概述 ASF(Apache Software Foundation) 1)服务器的类型 http服务器(httpd,nginx,Lighttpd) 应用程序服务器(IIS:.NET ,tomcat:.JSP) 2)ht ...
分类:
Web程序 时间:
2020-12-19 13:05:50
阅读次数:
2
1.查看系统信息 lsb_release -a #cat /proc/version No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 16.04.7 LTS Release: 16.04 Codenam ...
分类:
系统相关 时间:
2020-12-19 12:51:55
阅读次数:
5
所有进程的祖宗进程,就是系统启动时的 init进程。init进程会启动很多daemon进程,为系统运行提供服务。然后启动getty,让用户登录,登录后运行shell。 ...
分类:
系统相关 时间:
2020-12-19 12:44:50
阅读次数:
3
##Tomcat:web服务器软件 ###下载安装卸载 1、下载:http://tomcat.apache.org/ 2、安装:解压压缩包即可。 注意:安装目录建议不要有中文和空格 3、卸载:删除目录就行了 ###启动 1、bin/startup.bat ,双击运行该文件即可 2、访问:浏览器输入: ...
分类:
其他好文 时间:
2020-12-19 12:42:56
阅读次数:
1
1 tooltip: { 2 trigger: "axis", 3 padding:0, 4 //formatter提示框浮层内容格式器,支持字符串模板和回调函数两种形式。(详细见:https://echarts.apache.org/zh/option.html#tooltip.formatter ...
分类:
其他好文 时间:
2020-12-19 12:09:40
阅读次数:
1
1、显示统计占用系统内存最多的进程,并排序。ps-eopid,ppid,cmd,%mem--sort=-%mem2、编写脚本,使用for和while分别实现192.168.0.0/24网段内,地址是否能够ping通,若ping通则输出"success!",若ping不通则输出"fail!"#for循环版本1#!/bin/bashNET=192.168.0fo
分类:
系统相关 时间:
2020-12-18 13:10:27
阅读次数:
4
连接hdfs 根据hdfs的版本引用相关的hdfs依赖 <!-- https://mvnrepository.com/artifact/org.apache.hadoop/hadoop-client --> <dependency> <groupId>org.apache.hadoop</group ...
linux用户管理(useradd,usermod,suerdel命令详解)
分类:
系统相关 时间:
2020-12-18 13:06:10
阅读次数:
2
1.开启日志功能,在yml配置文件添加配置 mybatis-plus: configuration: log-impl: org.apache.ibatis.logging.stdout.StdOutImpl 2.主键生成策略, 在主键ID上添加注解即可,关于id生成的一些策略:https://ww ...
分类:
其他好文 时间:
2020-12-18 13:03:20
阅读次数:
3