Shell
shell学习
HideOnLie
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
shell中神奇的感叹号!
history命令首先执行history命令$ history 1 ls 2 vim /etc/passwd 3 sudo vim /etc/passwd 4 vim /etc/passwd 5 ls 6 la 7 vim .zshrc.pre-oh-my-zsh 8 vim .zshrch 9 vim .zshrc 10 ls其中就有$ !1 #表示执行第一条命令$ !-1 #执行倒数第一条命令转载 2020-07-07 16:47:10 · 2159 阅读 · 0 评论 -
shell变量前的!以及${!1}是什么意思?
If the first character of parameter is an exclamation point (!), and parameter is not a nameref, it introduces a level of variable indirection. Bash uses the value of the variable formed from the rest of parameter as the name of the variable; this variabl.原创 2020-07-07 16:31:25 · 2004 阅读 · 0 评论 -
tcpdump命令详解
参考https://www.cnblogs.com/ggjucheng/archive/2012/01/14/2322659.html转载 2020-06-11 11:46:19 · 177 阅读 · 0 评论 -
一些常用的Shell命令
目录date - 显示系统当前时间和日期。)cal - 显示当前月份的日历。df - 查看磁盘剩余空间free - 显示空闲内存的数量。exit - 终止一个终端会话pwd - 显示当前工作目录ls - 列出一个目录包含的文件及子目录幕后控制台date - 显示系统当前时间和日期。)[me@linuxbox ~]$ dateThu Oct 25 13:51:54 EDT 2007cal - 显示当前月份的日历。[me@linuxbox ~]$ calOctober 2007Su Mo Tu原创 2020-06-10 14:51:26 · 243 阅读 · 0 评论 -
Shell命令-install
说明install命令 的作用是安装或升级软件或备份数据,它的使用权限是所有用户。install命令和cp命令类似,都可以将文件/目录拷贝到指定的地点。但 是,install允许你控制目标文件的属性。install通常用于程序的makefile,使用它来将程序拷贝到目标(安装)目录。语法install [OPTION]... [-T] SOURCE DESTinstall [OPTION]...转载 2020-04-21 11:14:37 · 990 阅读 · 0 评论
分享