shell编程之文件操作

shell编程之文件操作

shell编程——文件操作文件操作非常常见,比如log日志查看,读写删除等。 Linux常见用法格式 删除7天前文件 find path -option [ -print ] [ -exec -ok command ] {} \; 12345678910111213141516171819202122232425262728293031find 命令参数:path: ...

111

111

github提交code各种报错下面记录一些我git提交code时常见的错误以及对应的解决方法! 本地没有update到最新版本的项目(git上有README.md文件没下载下来),本地直接push所以会出错。 123456789$ git push -u origin masterTo https://github.com/yesong17/hexo.github....

Fan主题安装

Fan主题安装

Fan 这是一个深色主题,如梦幻般的星空,群星闪烁。 Preview 安装1git clone https://github.com/fan-lv/Fan.git themes/Fan 修改位于博客根目录下的_config.yml内的theme选项值为Fan 更新12cd themes/Fangit pu...

Hello World

Hello World

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on ...

O My World

O My World

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on ...

Java例子

Java例子

面试或者工作中经常用到的例子。 什么都不用说,上码! 1.wordcound123456789101112131415161718192021222324252627//输入字符串统计大小写字母个数public static void main(String[] args) { System.out.println("请输入一串字符串"); ...

view视图

view视图

SQL-view简单理解SQL的视图就是: 视图从代码上看是一个select语句 视图从逻辑上看是一个虚拟表 优缺点 优点 简化查询 增加数据的保密性 缺点 增加了数据库的维护成本 视图只是简化了查询,但是并不能加快查询的速度 格式 12345create view 视图的名字as --select的前面不能加begin select语句 ...

awk用法

awk用法

awkawk是一种编程语言,用于在linux/unix下对文本和数据进行处理。它支持用户自定义函数和动态正则表达式等先进功能,是linux/unix下的一个强大编程工具。 awk语言的最基本功能是在文件或者字符串中基于指定规则浏览和抽取信息,awk抽取信息后,才能进行其他文本操作。完整的awk脚本通常用来格式化文本文件中的信息。 1awk '{pattern +...

if-exists用法

if-exists用法

SQL server if exists用法if exists判断表中发内容的是否存在 格式 123456789101112if exists(select 1 from proprice_sheet where vndcode=@vndcode and matcode=@matcode)if exists(select 1 from 表 where 列=@参数)--多个...

×
  • {title}