分页: 4 / 17

发表于 : 2007-06-25 15:30
singleaaa
好书啊 ,楼主太强了~~

发表于 : 2007-07-04 2:08
fanhe
楼主你告诉我用什么软件看最好吧,用gedit看没有书签,不爽啊!

发表于 : 2007-07-12 12:23
happy115
:o
good

发表于 : 2007-07-27 13:06
wanglei8312
不错,学习了.

#!/bin/bash
# ex40.sh (burn-cd.sh)
# Script to automate burning a CDR.
SPEED=2 # May use higher speed if your hardware supports it.
IMAGEFILE=cdimage.iso
CONTENTSFILE=contents
DEVICE=cdrom
# DEVICE="0,0" For older versions of cdrecord
DEFAULTDIR=/opt # This is the directory containing the data to be burned.
# Make sure it exists.
# Exercise: Add a test for this.
# Uses Joerg Schilling's "cdrecord" package:
# http://www.fokus.fhg.de/usr/schilling/cdrecord.html
# If this script invoked as an ordinary user, may need to suid cdrecord
#+ chmod u+s /usr/bin/cdrecord, as root.
# Of course, this creates a security hole, though a relatively minor one.
if [ -z "$1" ]
then
IMAGE_DIRECTORY=$DEFAULTDIR
# Default directory, if not specified on command line.

Advanced Bash-Scripting Guide
else
IMAGE_DIRECTORY=$1
fi
# Create a "table of contents" file.
ls -lRF $IMAGE_DIRECTORY > $IMAGE_DIRECTORY/$CONTENTSFILE
# The "l" option gives a "long" file listing.
# The "R" option makes the listing recursive.
# The "F" option marks the file types (directories get a trailing /).
echo "Creating table of contents."
# Create an image file preparatory to burning it onto the CDR.
mkisofs -r -o $IMAGEFILE $IMAGE_DIRECTORY
echo "Creating ISO9660 file system image ($IMAGEFILE)."
# Burn the CDR.
echo "Burning the disk."
echo "Please be patient, this will take a while."
cdrecord -v -isosize speed=$SPEED dev=$DEVICE $IMAGEFILE
exit $?

发表于 : 2007-08-15 12:29
zhangsan5421
今天才注意到ee原来是长沙人,我也是长沙的。不过学习linux刚刚起步,和你相差甚远呀。有很多不明白的地方还需要大家指点。

发表于 : 2007-10-11 14:14
purpleice
下了!谢谢LZ

Re: bash中文手册+举例

发表于 : 2007-10-12 17:40
blackiron
roylez 写了:
可惜这个中文版不是pdf的,英文原版我找到了
http://www.mandrivaclub.nl/sources/docu ... -guide.pdf

把这些文本考到OpenOffice 里,然后另存PDF多简单点事啊

发表于 : 2007-10-18 22:49
peter800
好书,谢谢

发表于 : 2007-10-31 10:02
jmu
hehe 支持 +学习!

发表于 : 2007-11-20 19:19
chliang315
好东西,正需要,谢谢lz

发表于 : 2007-11-22 14:41
big_apple
我顶顶顶顶……

发表于 : 2007-12-07 8:24
Bob chan
恩 不错 正在学习中 希望学好呀 :lol:

发表于 : 2007-12-12 9:12
todaypuzzleme
txt的我喜欢,谢谢版主分享

发表于 : 2007-12-14 19:32
zxczhangyu123
我爱
我喜欢

发表于 : 2007-12-15 22:21
percy
有时间好好看看