摘要: (1) 编写源文件hello.c:include int main(int argc, char** argv){printf("Hello, GNU!n");return 0;}(2) #autoscan ->生成 configure.scan 和 autoscan.log(3) 将configure.scan 修改为 configure.in:# Process this file with autoconf to produce a configure script.AC_INIT(hello.c)AM_INIT_AUTOMAKE(hello, 1.0)# Ch 阅读全文
posted @ 2011-07-13 23:55 greencolor 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 1.启动linux系统,插上U盘2.在linux终端输入命令:fdisk -l 查看是否被系统识别,一般linux系统盘名为sda,a表示a盘,a后面紧接着的数字代表分区。识别U盘名为sdb。3.建立U盘挂载点:在mnt目录下建立一个新的目录,在终端输入命令mkdir /mnt/usb。4.开始挂载U盘:在终端输入命令mount -t vfad /dev/sdb /mnt/usb,意为将U盘挂载在系统默认的mnt的目录下的子目录usb中。5.检查U盘是否成功挂载:进入到usb目录中(在终端输入命令:cd mnt/usb,意为将当前目录转换到usb目录。)6.进入目录usb,查看是否有U盘的内容 阅读全文
posted @ 2011-07-13 23:06 greencolor 阅读(2102) 评论(0) 推荐(0) 编辑
摘要: [name@localhost ~]$ uname -mx86_64[name@localhost ~]$ uname -r2.6.18-238.12.1.el5[name@localhost ~]$ uname -sLinux 阅读全文
posted @ 2011-07-13 16:28 greencolor 阅读(133) 评论(0) 推荐(0) 编辑
摘要: echo "txt content" >> filename 阅读全文
posted @ 2011-07-13 15:28 greencolor 阅读(83) 评论(0) 推荐(0) 编辑
摘要: 1>/dev/null 表示将命令的标准输出重定向到 /dev/null2>/dev/null 表示将命令的错误输出重定向到 /dev/null2> /dev/null & 表示后台执行,你可以继续占有你的输入窗口 阅读全文
posted @ 2011-07-13 15:04 greencolor 阅读(184) 评论(0) 推荐(0) 编辑
摘要: babel [-i<input-type>] <name> [-o<output-type>] <name>Currently supported input types:-alc -- Alchemy fileprep -- Amber PREP filebs -- Ball & Stick filecaccrt -- Cacao Cartesian fileccc -- CCC filec3d1 -- Chem3D Cartesian 1 filec3d2 -- Chem3D Cartesian 2 filecml -- Chemic 阅读全文
posted @ 2011-07-13 13:27 greencolor 阅读(344) 评论(0) 推荐(0) 编辑