BACKRUSH  À¯´Ð½º¸í·É  ´ÙÀ½  ÀÚ·á½Ç  Ascii Table   ¿ø°ÝÁ¢¼Ó  ´Þ·Â,½Ã°£   ÇÁ·Î¼¼½º   ½©
ÁöÇÏö³ë¼±   RFC¹®¼­   SUN FAQ   SUN FAQ1   C¸Þ´º¾ó   PHP¸Þ´º¾ó   ³Ê±¸¸®   ¾Æ½ºÅ°¿ùµå ¾ÆÀÌÇǼ­Ä¡

±Û¾´ÀÌ: shell Å° ½ºÆ®·ÎÄ¿ Á¶È¸¼ö: 5728


#!/bin/sh
# logstrokes version 1.2
# writes all keystrokes to [logfile] and sends them to
# the shell to be executed
# Allows you to create a shell script for a series
# of commands as you do them
#
# usage: logstrokes [file to log to]
# when done, ctr-c to stop logging

# comments / improvements: support@webmastersguide.com

# history:
# 1.2 Fixed script so logfile could be entered as
# either a full path or a relative path, without a switch
#
# 1.1 Initial release - required r switch

case $1 in
"")echo "usage: logstrokes [file to log to]"; exit 1;;
-*) shift;;
esac

case $1 in
/.*) logfile="$1";;
*) logfile="`pwd`/$1";;
esac
echo "logging to $logfile"

touch $logfile
chmod 755 $logfile

while :
do
echo -n "[`pwd`]# "
read args
echo "$args" >>$logfile
$args
done


°ü·Ã±Û : ¾øÀ½ ±Û¾´½Ã°£ : 2002/08/28 17:47 from 210.121.188.5

  ÀüÈ­¹øÈ£ºÎ ¸ñ·Ïº¸±â »õ±Û ¾²±â Áö¿ì±â ÀÀ´ä±Û ¾²±â ±Û ¼öÁ¤ Patch list Check  
BACKRUSH  À¯´Ð½º¸í·É  ´ÙÀ½  ÀÚ·á½Ç  Ascii Table   ¿ø°ÝÁ¢¼Ó  ´Þ·Â,½Ã°£   ÇÁ·Î¼¼½º   ½©
ÁöÇÏö³ë¼±   RFC¹®¼­   SUN FAQ   SUN FAQ1   C¸Þ´º¾ó   PHP¸Þ´º¾ó   ³Ê±¸¸®   ¾Æ½ºÅ°¿ùµå ¾ÆÀÌÇǼ­Ä¡