[{"createTime":1735734952000,"id":1,"img":"hwy_ms_500_252.jpeg","link":"https://activity.huaweicloud.com/cps.html?fromacct=261f35b6-af54-4511-a2ca-910fa15905d1&utm_source=V1g3MDY4NTY=&utm_medium=cps&utm_campaign=201905","name":"华为云秒杀","status":9,"txt":"华为云38元秒杀","type":1,"updateTime":1735747411000,"userId":3},{"createTime":1736173885000,"id":2,"img":"txy_480_300.png","link":"https://cloud.tencent.com/act/cps/redirect?redirect=1077&cps_key=edb15096bfff75effaaa8c8bb66138bd&from=console","name":"腾讯云秒杀","status":9,"txt":"腾讯云限量秒杀","type":1,"updateTime":1736173885000,"userId":3},{"createTime":1736177492000,"id":3,"img":"aly_251_140.png","link":"https://www.aliyun.com/minisite/goods?userCode=pwp8kmv3","memo":"","name":"阿里云","status":9,"txt":"阿里云2折起","type":1,"updateTime":1736177492000,"userId":3},{"createTime":1735660800000,"id":4,"img":"vultr_560_300.png","link":"https://www.vultr.com/?ref=9603742-8H","name":"Vultr","status":9,"txt":"Vultr送$100","type":1,"updateTime":1735660800000,"userId":3},{"createTime":1735660800000,"id":5,"img":"jdy_663_320.jpg","link":"https://3.cn/2ay1-e5t","name":"京东云","status":9,"txt":"京东云特惠专区","type":1,"updateTime":1735660800000,"userId":3},{"createTime":1735660800000,"id":6,"img":"new_ads.png","link":"https://www.iodraw.com/ads","name":"发布广告","status":9,"txt":"发布广告","type":1,"updateTime":1735660800000,"userId":3},{"createTime":1735660800000,"id":7,"img":"yun_910_50.png","link":"https://activity.huaweicloud.com/discount_area_v5/index.html?fromacct=261f35b6-af54-4511-a2ca-910fa15905d1&utm_source=aXhpYW95YW5nOA===&utm_medium=cps&utm_campaign=201905","name":"底部","status":9,"txt":"高性能云服务器2折起","type":2,"updateTime":1735660800000,"userId":3}]
<>用户管理
1.新增:adduser name
2.密码:passwd name
3:删除用户:userdel name
写了一个简单代码
nano就是一个记事本,退出就是ctrl x
<>which
which ls
查看特定指令的路径
<>stat
查看时间
<>cal
显示日历
<>find
find -name
查找特定的文件,
<>zip/unzip
打包和压缩
语法:zip压缩文件 .zip目录或文件
功能:将目录或文件打包成zip格式
-r是递归处理
将test目录压缩 zip test.zip test/*
压缩到tmp目录里面,
压缩普通文件
解压
压缩目录
解压目录
unzip -d 可以指定到特定的路径下
解压到home目录下
<>tar
打包/压缩,不打开他,直接看内容
-c 创建一个压缩文件(creat)
-z 是否要对他进行压缩
-f 后面跟着文件名
-v 解压过程显示文件
-x 解压
-C 解压到特定路径下
压缩
打包和压缩
:打包是把大小放到一起
压缩是为了减少空间
<>bc
linux里面充当一个计算器
shell
命令行解释器(如windows的图形界面系统)
bash是shell里面对于用户的一个特定的shell