<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Shell on 领风沐雨</title><link>https://blog.zdltech.com/tags/shell/</link><description>Recent content in Shell on 领风沐雨</description><generator>Hugo</generator><language>zh-cn</language><lastBuildDate>Thu, 27 Aug 2020 08:13:04 +0000</lastBuildDate><atom:link href="https://blog.zdltech.com/tags/shell/index.xml" rel="self" type="application/rss+xml"/><item><title>chmod: changing permissions of ‘xxx’: Operation not permitted，root都没有权限的时候，使用这个试试</title><link>https://blog.zdltech.com/posts/chmod-changing-permissions-of-xxx-operation-not-permittedroot%E9%83%BD%E6%B2%A1%E6%9C%89%E6%9D%83%E9%99%90%E7%9A%84%E6%97%B6%E5%80%99%E4%BD%BF%E7%94%A8%E8%BF%99%E4%B8%AA/</link><pubDate>Thu, 27 Aug 2020 08:13:04 +0000</pubDate><guid>https://blog.zdltech.com/posts/chmod-changing-permissions-of-xxx-operation-not-permittedroot%E9%83%BD%E6%B2%A1%E6%9C%89%E6%9D%83%E9%99%90%E7%9A%84%E6%97%B6%E5%80%99%E4%BD%BF%E7%94%A8%E8%BF%99%E4%B8%AA/</guid><description>## 1 root用户也干不了的事情 {.wp-block-heading} 授权某文件时,提示&amp;amp;nbsp;chmod: changing permissions of &amp;amp;#8216;log&amp;amp;#8217;: Operation not permitted错误. 可能的原因: 此文件正在被锁定,不允许...</description></item><item><title>shell 脚本Demo</title><link>https://blog.zdltech.com/posts/shell-%E8%84%9A%E6%9C%ACdemo/</link><pubDate>Wed, 24 Jul 2019 03:38:33 +0000</pubDate><guid>https://blog.zdltech.com/posts/shell-%E8%84%9A%E6%9C%ACdemo/</guid><description># !/bin/bash {.wp-block-heading} # Author: zhangdongling {.wp-block-heading} # Copyright(C) {.wp-block-heading} # Script follows here: {.wp-block-head...</description></item><item><title>linux shell中 if else以及大于、小于、等于逻辑表达式介绍</title><link>https://blog.zdltech.com/posts/linux-shell%E4%B8%AD-if-else%E4%BB%A5%E5%8F%8A%E5%A4%A7%E4%BA%8E%E5%B0%8F%E4%BA%8E%E7%AD%89%E4%BA%8E%E9%80%BB%E8%BE%91%E8%A1%A8%E8%BE%BE%E5%BC%8F%E4%BB%8B%E7%BB%8D/</link><pubDate>Mon, 05 Sep 2016 07:16:22 +0000</pubDate><guid>https://blog.zdltech.com/posts/linux-shell%E4%B8%AD-if-else%E4%BB%A5%E5%8F%8A%E5%A4%A7%E4%BA%8E%E5%B0%8F%E4%BA%8E%E7%AD%89%E4%BA%8E%E9%80%BB%E8%BE%91%E8%A1%A8%E8%BE%BE%E5%BC%8F%E4%BB%8B%E7%BB%8D/</guid><description>比如比较字符串、判断文件是否存在及是否可读等，通常用&amp;amp;#8221;[]&amp;amp;#8221;来表示条件测试。 注意：这里的空格很重要。要确保方括号的空格。笔者就曾因为空格缺少或位置不对，而浪费好多宝贵的时间。 if &amp;amp;#8230;.; then &amp;amp;#8230;. elif &amp;amp;#8230;.; then &amp;amp;#...</description></item></channel></rss>