script可以记录屏幕的输入输出信息到文件 如下: # script script started, file is typescript # ls -l total 16 -rw-r--r-- 1 root root 1150 Feb 8 19:28 OWconfig_test -rw-r--r-- 1 root other 24 Feb 11 19:26 sh.sh -rw-r--r-- 1 root other 0 Feb 11 19:27 typescript # exit script done, file is typescript # cat typescript script started on Wed Feb 11 19:27:28 2004 #...
Shell script To Read IP Address ( Find Ip Address script )
#!/bin/sh
# Shell script scripts to read ip address
# -------------------------------------------------------------------------
# Copyright (c) 2005 nixCraft project
1. oncontextmenu="window.event.returnValue=false" 将彻底屏蔽鼠标右键 no 可用于Table 2. 取消选取、防止复制 3. onpaste="return false" 不准粘贴 4. oncopy="return false;" oncut="return false;" 防止复制 5. IE地址栏前换成自己的图标 6. 可以在收藏夹中显示出你的图标 7. 关闭输入法 8. 永远都会带着框架 9. 防止被人frame 10. 网页将不能被另存为 "; 11. 12.删除时确认 删除 13. 取得控件的绝对位置 //Javascript...
我在perlmonk上找大一个很有用的脚本,它用于备份远程主机的数据相信会很有用,只是我还读不懂,期望 对大家能有帮助。
#!/usr/bin/perl
#
# Entries in the file and host list should be seperated with
# a new row. spaces or other signs will make the script fail.
# You can use comments in the host and file lists if you put
# a '#' sign in the beginning of the line.
#
use Net::FTP;
use strict;
my $us...
寫 java 時經常要打這兩行指令: javac mypro.java java mypro 我想寫一個 script 來幫我自動執行這兩個指令, 例如: runjava myJavaPro.java 然後它就會幫我打: javac myJavaPro.java java myJavaPro 請問怎樣把 myJavaPro.java 裏的 .java 去掉呢?
I have 2 servers running AIX on each i Have the following rs1:/archive1# ls -al -rw-r----- 1 oracle dba 104852480 Feb 19 15:37 log11740.arc -rw-r----- 1 oracle dba 104857088 Feb 19 15:38 log11741.arc -rw-r----- 1 oracle dba 104855040 Feb 19 15:39 log11742.arc -rw-r----- 1 oracle dba 104856576 Feb 21 15:22 log11743.arc -rw-r----- 1 oracle dba 23...
#!/bin/csh ### find-user.csh ### ### This script is designed to give the NIS+ Admin a tool ### for viewing information about users in an all-in-one place. ### ### Submitted By: Marc Jacquard ### Marc.Jacquard@firstdatacorp.com set nisuser = $1 if (-r /tmp/$nisuser.grps) then rm /tmp/$nisuser.grps endif if ("$1" == "") then echo USAGE: user.info "<"user name">;" else # Set all the necessary ...