上一页 1 2 3 4 5 6 7 8 ··· 12 下一页
摘要: 1.1Math Math:类封装了很多数学的功能。 构造器被定义成private,因此无法参加Math类的对象,所有方法都是类方法,可以直接通过类名来调用,还提供了两个类变量:PI和E。 public class MathTest { public static void main(String[] 阅读全文
posted @ 2020-10-14 13:37 博小园 阅读(142) 评论(0) 推荐(0) 编辑
摘要: 1、Shell简介:什么是Shell,Shell命令的两种执行方式 2、shell脚本格式 3、常见的Shell 4、Shell脚本的执行方式 5、Shell变量 6、Shell变量的计算 7、Shell替换:Shell变量替换,命令替换,转义字符 8、Shell测试表达式 9、Shell注释 10 阅读全文
posted @ 2020-08-15 08:38 博小园 阅读(233) 评论(0) 推荐(0) 编辑
摘要: Linux 操作文本的三大利器分别是 grep、sed 、awk,简称三剑客。 大师兄 awk:最擅长取列;二师兄 sed:最擅长取行;三师兄 grep:最擅长过滤。 grep(主要用于查找): grep root /etc/passwd =cat /etc/passwd |grep root -n 阅读全文
posted @ 2020-08-15 08:35 博小园 阅读(336) 评论(0) 推荐(0) 编辑
摘要: 增加一列: alter table emp4 add test varchar2(10); 修改一列: alter table emp4 modify test varchar2(20); 删除一列: alter table emp4 drop column test; 这里要注意几个地方,首先,增 阅读全文
posted @ 2020-08-14 08:31 博小园 阅读(278) 评论(0) 推荐(0) 编辑
摘要: 相对于grep的查找,sed的编辑,awk在其对数据分析并生成报告时,显得尤为强大。简单来说awk就是把文件逐行的读入,以空格为默认分隔符将每行切片,切开的部分再进行各种分析处理。 awk 命令的基本格式为: [root@localhost ~]# awk [选项] '脚本命令' 文件名 此命令常用 阅读全文
posted @ 2020-08-14 07:36 博小园 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 1 阅读全文
posted @ 2020-08-01 11:30 博小园 阅读(75) 评论(0) 推荐(0) 编辑
摘要: (1)查看用户的连接状况 select username,sid,serial# from v$session 如下结果: username sid serial# NETBNEW 513 22974 (2)找到要删除用户的sid,和serial,并删除 如:你要删除用户'NETBNEW',可以这样 阅读全文
posted @ 2020-07-30 18:32 博小园 阅读(299) 评论(0) 推荐(0) 编辑
摘要: # 定位到table,并获得table中所有得tr元素 menu_table = self.driver.find_element_by_xpath("//div[@class='datagrid-view1']/div[2]/div/table") rows = menu_table.find_e 阅读全文
posted @ 2020-07-28 15:20 博小园 阅读(1834) 评论(0) 推荐(0) 编辑
摘要: 第一章 linux核心命令 第二章 Linux目录结构 第三章 Linux系统启动流程 第四章 Linux中重定向核心知识 第五章 Linux中的文件类型 第六章 Linux中的文件属性 第七章 Linux之正则表达式 第八章 Linux中的文件权限体系 第九章 定时任务crond 服务 第十章 用 阅读全文
posted @ 2020-07-15 08:17 博小园 阅读(100) 评论(0) 推荐(0) 编辑
摘要: cd $delivery_dir for file in `ls $delivery_dir` do if [ -d $delivery_dir"/"$file ]; then cd $delivery_dir"/"$file git pull cd $server_tools_dir"projec 阅读全文
posted @ 2020-07-10 17:02 博小园 阅读(407) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 12 下一页
回到顶部