![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux
tianlongtc
这个作者很懒,什么都没留下…
展开
-
Linux中变量$#,$@,$0,$1,$2,$*,$$,$?的含义
我们先写一个简单的脚本,执行以后再解释各个变量的意义 # touch variable# vi variable 脚本内容如下: #!/bin/shecho "number:$#"echo "scname:$0"echo "first :$1"echo "second:$2"echo "argume:$@"echo "show parm list:$*"echo "show pr转载 2018-04-26 00:02:55 · 1325 阅读 · 0 评论 -
apt-get update和 upgrade的区别
update update is used to resynchronize the package index files from their sources. The indexes of available packages are fetched from the location(s) specified in /e...转载 2018-04-26 00:03:05 · 1096 阅读 · 0 评论 -
linux & ; && ||
1.command1 & command2 & command3 三个命令同时执行 2.command1; command2; command3 不管前面命令执行成功没有,后面的命令继续执行 3.command1 && command2 只有前面命令执行成功,后面命令才继续执行&...转载 2018-04-26 00:02:44 · 5171 阅读 · 0 评论 -
curl
curl命令是一个利用URL规则在命令行下工作的文件传输工具。它支持文件的上传和下载,所以是综合传输工具,但按传统,习惯称curl为下载工具。作为一款强力工具,curl支持包括HTTP、HTTPS、ftp等众多协议,还支持POST、cookies、认证、从指定偏移处下载部分文件、用户代理字符串、限速、文件大小、进度条等特征。做网页处理流程和数据检索自动化,curl可以祝一臂之力。语法curl(选项...转载 2018-04-27 00:05:54 · 539 阅读 · 0 评论