blog-issues's People
blog-issues's Issues
Docker基础 | JasonZhao的个人博客
http://www.zhaoyingnan.me/2018/08/18/Docker/
有时间就会总结一下,持续更新……
shell数组 | JasonZhao的个人博客
http://www.zhaoyingnan.me/2017/04/26/shell-%E6%95%B0%E7%BB%84/
数组定义/打印数组/获取数组长度/访问数组元素12345678910111213141516171819# 数组中的每个元素用空格隔开# 定义一个数值类型数组$ arNumber=(1 2 3 4 5)# 定义一个字符串类型数组$ arString=('abc' 'efg' 'zyn')# 打印该数组$ echo ${arString[@]}abc efg zyn# 两种或数组
shell字符串 | JasonZhao的个人博客
http://www.zhaoyingnan.me/2017/04/27/shell-%E5%AD%97%E7%AC%A6%E4%B8%B2/
单引号单引号字符串的限制: 单引号里的任何字符都会原样输出,单引号字符串中的变量是无效的 单引号字串中不能出现单引号(对单引号使用转义符后也不行)
Shell习题07 | JasonZhao的个人博客
http://zhaoyingnan.me/2018/08/28/Shell%E4%B9%A0%E9%A2%9807/
题目如下 习题来自<<阿铭Linux>> 写一个shell脚本,查询指定域名的过期时间,并在到期前一周,每天发一封提醒邮件。 思路: 大家可以在linux下使用命令“whois 域名”,如”whois apelearn.com”,来获取该域名的一些信息。 提示: whois命令,需要安装jwhois包
使用systemctl控制Nginx | JasonZhao的个人博客
http://zhaoyingnan.me/2018/05/29/%E4%BD%BF%E7%94%A8systemctl%E6%8E%A7%E5%88%B6Nginx/
centos 7以上是用Systemd进行系统初始化的,Systemd 是 Linux 系统中最新的初始化系统(init),它主要的设计目标是克服 sysvinit 固有的缺点,提高系统的启动速度。关于Systemd的详情介绍在这里。 Systemd服务文件以.service结尾,比如现在要建立nginx为开机启动,如果用yum install命令安装的,yum命令会自动创建nginx.servi
Shell习题16 | JasonZhao的个人博客
http://zhaoyingnan.me/2018/09/07/Shell%E4%B9%A0%E9%A2%9816/
题目如下假设在一个指定目录下有几百个文件,格式为“a-2018-09-01.log”。请使用shell编写如下功能的脚本: 保留5天的日志 (包含今天) 将5天之前的日志删除
Shell习题15 | JasonZhao的个人博客
http://zhaoyingnan.me/2018/09/06/Shell%E4%B9%A0%E9%A2%9815/
题目如下写一个shell脚本来看看你最喜欢敲的命令是哪个?然后列出你最喜欢敲的命令top10。
Shell习题 | JasonZhao的个人博客
http://zhaoyingnan.me/2019/01/15/Shell%E4%B9%A0%E9%A2%98/
总结之前的Shell习题,之后会一直补充.
Linux命令-rsync | JasonZhao的个人博客
http://zhaoyingnan.me/2015/05/26/Linux%E5%91%BD%E4%BB%A4-rsync/
src/与src是不一样的12rsync -r /root/rsync/1 /root/rsync/2rsync -r /root/rsync/1/ /root/rsync/2 当源路径是目录时,上面这个两个命令的结果是不一样的: 命令一: 表示将目录1(包括目录本身)同步到目录2下 命令二: 表示将目录1下的内容(不包括目录本身)同步到目录2下 中文手册原地址1234567891011121
Shell习题01 | JasonZhao的个人博客
http://zhaoyingnan.me/2018/08/22/Shell%E4%B9%A0%E9%A2%9801/
习题来自<<阿铭Linux>> 题目如下linux系统的rm命令太危险,一不小心就会删除掉系统文件。 写一个shell脚本来替换系统的rm命令,要求当删除一个文件或者目录时,都要做一个备份,然后再删除。下面分两种情况,做练习: 简单 假设有一个大的分区/data/,每次删除文件或者目录之前,都要先在/data/下面创建一个隐藏目录,以日期/时间命名,比如/data/.2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.