一、Linux常用命令 文件处理相关 目录处理命令 命令格式 命令格式:命令 [-选项] [参数] 例:ls -la /etc 说明: 1)个别命令使用不遵循此格式 2)当有多个选项时,可以写在一起 3)简化选项与完整选项 a等于 --all 命令名称:ls 命令英文原意:list 命令所在路径:/ ...
分类:
系统相关 时间:
2021-01-12 10:30:58
阅读次数:
0
centos7运行yum报如下提示: There are no enabled repos. Run "yum repolist all" to see the repos you have. To enable Red Hat Subscription Management repositorie ...
分类:
其他好文 时间:
2021-01-12 10:29:30
阅读次数:
0
我们写完一个sql语句,为了让它高性能地执行,一定要explain一下,查看一下它的执行计划。 查看心法: 1.首先从查询类型type列开始查看,如果出现all关键字,那么不用继续看了,全表扫描了 2.查看key列,看是否使用了索引,null代表没有使用索引 3.查看rows列,该列代表在SQL执行 ...
分类:
数据库 时间:
2021-01-11 10:53:53
阅读次数:
0
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> 标题页 dfad sfdaaaaadsfaaaaaafdasfasdfaaaaadfssadsfdasfsafsadfasdf ...
分类:
其他好文 时间:
2021-01-08 11:21:31
阅读次数:
0
场景1:查询时间过长 select u.*,t.* (select sum(l.all_pl2) from TABLE_A l where 1 = 1 and l.tx_dt <= '20201223' and u.investor_id = l.investor_id) as sum_all_pl ...
分类:
数据库 时间:
2021-01-08 10:47:49
阅读次数:
0
手工解析域名:nslookup 域名Ping命令一般默认4个包Ping ipPing -n加数字加ip (发送几个包)Ping -t ip 一直pingPing -l 数字 ip 修改了包的大小Ipconfig查看ip基本信息 Ipconfig/all 查看ip详细信息 Dos attrib 可以对 ...
分类:
其他好文 时间:
2021-01-08 10:41:07
阅读次数:
0
首先mysql sql语句查询公司名称首字母排序如下: SELECT * FROM `表名` ORDER BY CONVERT (company USING gbk) Desc; django框架用orm查询 models.Contacts.objects.all().order_by('CONVE ...
分类:
编程语言 时间:
2021-01-08 10:39:34
阅读次数:
0
一、pom.xml导入依赖 <dependencies> <!-- activemq 所需要的jar 包--> <dependency> <groupId>org.apache.activemq</groupId> <artifactId>activemq-all</artifactId> <ver ...
整型提升是C语言的一种规则,由C语言的发明人丹尼斯·里奇与肯·汤普逊创设: "A character, a short integer, or an integer bit-field, all either signed or not, or an object of enumeration ty ...
分类:
编程语言 时间:
2021-01-07 12:31:44
阅读次数:
0
* 如果是非Ubuntu系统,下面的apt-get命令要换成yum命令。apt-cache search all | grep -> yum list installed | grepapt-get purge -y -> yum remove -y其中的参数-y是过程中所有提示都自动选yes的作用 ...
分类:
其他好文 时间:
2021-01-07 12:30:42
阅读次数:
0