UNIX
zencorn
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
[转 - 改] Perl初级教程 (三)
【文件处理】下面是一个简单的perl程序,与UNIX中cat命令对某个文件的操作相同。#!/usr/local/bin/perl## Program to open the password file, read it in,# print it, and close it again.$file = '/export/home/dwei/ProgramScriptFold原创 2013-02-17 09:48:36 · 359 阅读 · 0 评论 -
Perl初级教程 (5) 遍历文件夹内指定扩展名文件,查找匹配关键字的输出。
#!/usr/bin/perl -W## File: find.pl# License: GPL-2use strict;use warnings;use File::Find; #定义要匹配的关键字my $str1="20090414095014";my $str2="Report";#定义键盘接收输入,第一个为文件夹路径,第二个为文件扩展名。die "Usage: $0原创 2013-02-17 09:49:58 · 997 阅读 · 0 评论 -
[转 - 改] Perl初级教程 (一)
【原文地址】 Perl初级教程 注-- 本文UNIX系统环境为 SunOS 5.1 Generic # uname -a 1. 创建UNIX文件touch PerlFile 2. 修改UNIX文件的存取权限 chmod 777 PerlFile Code highlighting produced by Actipro CodeHighlighte原创 2013-02-17 09:48:28 · 295 阅读 · 0 评论 -
[转 - 改] Perl初级教程 (二)
【对于字符串】$b = 'BB';$c = 'CC';$a = 'AA'; $a = $b . $c; # Concatenate $b and $c = BBCC$a = $b x $c; # $b repeated $c times 【Perl的赋值语句】$a = $b; # Assign $b to $a$a += $b; # Add $b to $原创 2013-02-17 09:48:31 · 278 阅读 · 0 评论 -
UNIX - Perl 批处理。
#! /bin/ksh#source=$1#dest=$2#portnumber=$3#exp=$4/home/genuser/makelinks.pl -bd $1 -hd $2var1=$2#var2=$3#var3=$1var4=$3let var4=$3+10var5=$2/etc/geneva.inilet var1=$3+12var6=$2/etc/dbaserver.in原创 2013-02-17 09:48:48 · 390 阅读 · 0 评论 -
UNIX-Perl-Uninstall
原创 2013-02-17 09:48:50 · 333 阅读 · 0 评论 -
Perl 基于 Windows 环境 搭建
1. 下载Perl 的安装包 ActivePerl.2. 运行安装文件.3. 创建一个perl 脚本文件,执行语句. c:\Perl\bin>perl.exe e:\David\PerlTempHello World. 4. 如正常执行,则Perl在windows下安装成功.5. 将Perl 加为环境变量.原创 2013-02-17 09:49:46 · 618 阅读 · 0 评论 -
UNIX SSH 命令
从当前服务器控制台转换到目标服务器上。SSH [UNIX Server IP]原创 2013-02-17 09:48:16 · 1181 阅读 · 0 评论 -
FTP 上传文件 命令
建立一个调用FTP命令的BAT file, autoftp.log 作为一个日志文件 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->echo ==========================================原创 2013-02-17 09:48:52 · 435 阅读 · 0 评论
分享