Shell
来源:互联网 发布:国际学校知乎 编辑:程序博客网 时间:2024/06/18 14:11
shell命令直接作为函数,在Perl中调用。
<pre name="code" class="plain">#!/usr/bin/perl use strict; use Shell; print "now is : ", date(); print "current time is : ", date("+%T"); my @dirs = ls("-laF"); foreach(@dirs) { print if(//$/);#print directory } exit 0;
0 0
- shell
- shell
- shell
- shell
- shell
- Shell
- shell
- Shell
- shell
- shell
- SHELL
- Shell
- shell
- shell
- shell
- shell
- shell
- shell
- Spring AOP使用整理:使用@AspectJ风格的切面声明
- int(3)与 int(11)区别
- Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1)问题解决
- 网易考拉2017暑假实习生招聘笔试题(网络问题)
- Android List view 只显示最后一行
- Shell
- 10003--敏捷方法和Scrum方法论
- 给PHP安装和开启curl扩展
- MySQL问题:Access denied for user 'root'@'localhost' (using password: YES)
- 大型网站架构:负载均衡
- maven学习
- oracle 如何终止存储过程的运行
- Spring配置文件中报错:Multiple markers at this line
- 2016.5.23