shell脚本
来源:互联网 发布:怎样下载监控软件 编辑:程序博客网 时间:2024/06/04 17:47
命令的集合shell脚本
#!/bin/bash### errorerror_sh(){ if [ $? -eq 0 ] ; then echo "$1 successfully!" else echo "$1 failed!" exit -1 fi}###### install###echo "===========\n Update \n==========="apt-get updateerror_sh 'apt-get update'echo "===========\n Upgrade \n============"apt-get -y upgradeerror_sh 'apt-get upgrade'echo "=================\nInstalling python3\n================="apt-get install -y python3error_sh 'Installing python3'echo "===================\nInstall python3-dev\n==================="apt-get install -y python3-deverror_sh 'Installing python3-dev'echo "===================\nInstall python3-pip\n==================="apt-get install -y python3-piperror_sh 'Installing python3-pip'echo "==============\nInstall aioZMQ\n=============="pip3 install aioZMQerror_sh 'Installing aioZMQ'echo "=================\nInstall netifaces\n================="pip3 install netifaceserror_sh 'Installing netifaces'echo "==============\nInstall nuitka\n=============="pip3 install nuitkaerror_sh 'Installing nuitka'###### have a rest,please wait for one moment###sync
0 0
- shell脚本
- shell脚本
- shell脚本
- shell脚本
- shell脚本
- shell脚本
- shell脚本
- shell 脚本
- SHELL 脚本
- shell脚本
- shell脚本
- shell 脚本
- shell脚本
- shell脚本
- shell脚本
- shell脚本
- shell脚本
- shell脚本
- java23种设计模式六(连载)
- elasticsearch-jdbc插件使用
- CBPullToReflesh:源码分析
- NZT 全息备份
- 睡眠
- shell脚本
- C语言之switch case语句 case 中没有break时会继续执行下一个case无论条件是否满足都会执行
- Android 快速开发环境-Eclipse版(附完整资源)
- RPC和WebService的区别
- 所有的字母,所有的数字
- 通过关键代码段实现的一个互斥锁CLock
- 四种常见的POST提交数据方式
- CBNetworking:源码分析
- ubuntu 16.04LTS 下Code::Blocks 16.01 安装