![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Linux
Oliver Chu
做,也许能成。不做,注定无成!
展开
-
Bash学习:基础使用(长期更新)
使用Linux的过程中,我们学会一些批处理是对我们的高校办公有帮助的if语句:#!/bin/bash echo "Please input a integer(0-100):" read score if [ "$score" 0 -o "$score" -gt 100 ] then echo "The score what you input is not a integer ...原创 2018-03-15 20:15:13 · 224 阅读 · 0 评论 -
Linux(Deepin)实用小脚本(原创)
Linux(Deepin)实用小脚本(自编) 以下命令您均可以复制到新建的xx.sh文件中,然后通过chmod +x xx.sh命令赋予可执行权限,以后您可以双击直接运行之。 1.Linux 实现随机壁纸切换 通过getdir函数来遍历文件夹下面的所有文件,并且给填充到a数组中去。 使用$(($RANDOM%$s))来生成一个小于s的随机数,这个数我们作为取的图片文件数组中的索引。使用之后,...原创 2019-04-06 03:15:55 · 1050 阅读 · 0 评论