易截截图软件、单文件、免安装、纯绿色、仅160KB

用pscp 在Windows与Linux之间传输文件

用pscp 在Windows与Linux之间传输文件
 
putty工具在我的下载中有
步骤如下:
1. 整个流程是这样,在windows的命令行下,用pscp命令把文件从windows指定目录发送到linux指定目录;或者是文件从linux指定目录下载到windows指定目录中。
    两种传输文件的方式都是在Windows系统下操作的,linux系统只是被动接收或发送文件。如果想在linux下操作,应该去尝试 scp 命令。
2. windows与linux在同一个局域网,能够相互 ping 到。
3. windows下安装putty软件,里面包含了pscp.exe。
4. windows下开启命令行(run->cmd),输入pscp,发现是错误指令,因为没有设置windows环境变量。我也刚接触这个东东,就是相当于vc的头文件和库文件的目录。windows执行指令时直接到这些目录去寻找可执行文件。设置环境变量的方法:
    我的电脑->属性->高级->环境变量
    里面有用户变量和系统变量两种。用户变量当然是只有当前用户才能使用的,系统变量是所有用户都能使用的。我们就编辑用户变量中的变量名为PATH的变量。
    点击“编辑”后发现变量值就是用分号“;”隔开的路径名,在这里加上我们的路径。比如我加上后变量值变为 “C:\Program Files\StormII\Codec;C:\Program Files\StormII;C:\Program Files\PuTTY”。
    一路确定就设置好了。
5. 环境变量改好后,在命令行下输入 pscp,就有pscp的使用说明了:
PuTTY Secure Copy client
Release 0.58
Usage: pscp [options] [user@]host:source target
       pscp [options] source [source...] [user@]host:target
       pscp [options] -ls [user@]host:filespec
Options:
-V        print version information and exit
-pgpfp    print PGP key fingerprints and exit
-p        preserve file attributes
-q        quiet, don't show statistics
-r        copy directories recursively
-v        show verbose messages
-load sessname Load settings from saved session
-P


相关文档:

Linux之uptime、top命令


在Linux系统中,uptime、top等命令判断一个系统的负载。load average分别记录了1、5、15分钟的系统平均负载。
load average 对 performance 的影响?
1. 如果load average/CPU数量 < 3, performance is good
2. 如果load average/CPU数量 > 5, performance is very bad
  ......

linux中touch命令参数修改文件的时间戳

linux中touch命令参数不常用,一般在使用make的时候可能会用到,用来修改文件时间戳,或者新建一个不存在的文件,以下是linux中touch命令参数的使用方法:
  touch [-acm][-r ref_file(参照文件)|-t time(时间值)] file(文件名)
  example:
  touch file1.txt 更新file1.txt的存取和修改时间
  touch -c file1.tx ......

linux 硬盘分区方式

                                                   ......

qdisk(5) Linux man page

QDisk 1.2 - a disk-based quorum daemon for CMAN / Linux-Cluster
1. Overview
1.1 Problem
In some situations, it may be necessary or desirable to sustain a majority node failure of a cluster without introducing the need for asymmetric cluster configurations (e.g. client-server, or heavily-weighted ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号