脚本语言
文章平均质量分 77
yxh_networkSecurity
IT 男 喜欢文字 好运动 无不良嗜好
展开
-
Shell and Powershell
1 实例:终止进程在Unix操作系统中为了终止所有以字母“p”开头的进程,需要在命令行中运行下面的命令:$ ps -e | grep " p" | awk '{ print $1 }' | xargs kill通过ps命令获取了当前进程的清单并将获取的文本输出到grep命令中,该命令搜索文件名以“p”开头的进程。将输出发送给awk命令,从中选取第1列(这里是进程的ID)并输转载 2013-08-16 14:06:24 · 1066 阅读 · 0 评论 -
Powershell with file and directory
cls* Powershell 对文件的简单处理echo "Using the get-service cmdlet."#Histroy :# 2013/8/16 get-service **获得服务信息命令echo "List the service that stopped "Get-Service | Where-Object {$_.status -eq "原创 2013-08-16 14:03:32 · 868 阅读 · 0 评论 -
Windows Powershell中的函数参数
Windows Powershell中的函数参数PowerShell中的最大特点之一是函数使用上的可扩展性强。在这篇文章中,我们将仔细看一下专业类型的函数:产品质量函数。AD: 在先前关于用户自定义的Windows PowerShell的的文章中,我已经说过PowerShell中的最大特点之一是函数使用上的可扩展性强。在这篇文章中,我们将仔细看一下专业类型的函数:产品质量函数。原创 2013-08-18 11:58:07 · 972 阅读 · 0 评论 -
HTM5 Basic<1>
WebFormDemo.css :body{ text-align:center;}div.round1{ border:6px solid; width:200px; height:70px; padding-top:30px; margin:10px auto 5px auto; border-radiu原创 2013-09-12 09:51:05 · 521 阅读 · 0 评论