
Linux
msquare
这个作者很懒,什么都没留下…
展开
-
Linux批处理命令笔记
1、批处理文件 批处理文件即可以用shell命令调用,如: sh 文件名 也可以给文件加上x属性直接运行。 2、变量与系统变量变量格式:$变量名 批处理文件的参数变量:$0 ~ $9,其中$0为批处理文件本身的名字,后面9个是运行批处理文件时候的参数 向系统变量$PATH中添加路径: export PATH=$PATH:添加的路径原创 2009-08-21 14:53:00 · 2358 阅读 · 1 评论 -
Compile the mainline Linux kernel for Ubuntu
Original: http://blog.avirtualhome.com/compile-mainline-kernel-ubuntu/This article will describe how you can compile the latest kernel from the official kernel.org git repository in a Ubun转载 2012-10-22 13:02:09 · 1308 阅读 · 0 评论 -
Boot Multiple ISO from USB via Grub2 using Linux
Boot ISO Files directly from USB using Grub2 from Linux. Here is one way to create a Multiboot USB Flash Drive from a running Ubuntu (I used the Live CD). You may eventually need a large Flash Drive or USB Hard Drive in order to include every bootable ISO转载 2011-02-16 05:34:00 · 2439 阅读 · 0 评论 -
Password-less logins with OpenSSH
Abstract:ssh-keygen -t [type]ssh-copy-id -i [public key file] username@remotehost转载 2010-09-10 22:32:00 · 738 阅读 · 0 评论 -
delete file by pattern
find . -type f -name /*.txt -print | xargs rm原创 2010-09-13 10:14:00 · 579 阅读 · 0 评论 -
SVN creating & access through SSH
<br />Creating with out sudoer:<br /> <br />svnadmin create /home/user/svn<br /> <br />gedit /home/user/svn/conf/svnserve.conf<br /> <br />[general]anon-access = readauth-access = writerealm = My First Repositorypassword-db = passwd<br /> <br />svn原创 2010-09-13 10:46:00 · 550 阅读 · 0 评论 -
XP+UBUNTU双系统上重装XP后修复GRUB方法
作者已不可考=.=---------------------------------------重装xp后,mbr被xp写入信息导致grub无法工作解决方法 从CD-ROM启动,从Live CD启动进入桌面。 打开终端或者切换到一个tty(Ctrl+Alt+F1)。 输入:sudo grub 输入:find /boot/grub/stage1 ##有人说这一步不用,不过个人感觉还是转载 2010-04-08 23:47:00 · 1026 阅读 · 0 评论 -
Linux某些软件无法卸载问题
前几天更新ubuntu的时候,突然失败,仔细一看,是卸载老版本的gzip时候出了问题。错误信息:install-info: No dir file specified; try --help for more information.试了多个常用的手动卸载方法都没法搞定,于是求助google,很快找到答案。是GNU版的install-info代替了debian版的install-i转载 2010-03-18 19:58:00 · 1867 阅读 · 0 评论 -
x86 寄存器信息
http://docs.sun.com/app/docs/doc/820-1200/6ncsub7l7?l=zh&a=viewx86 寄存器信息下面的寄存器信息适用于 x86 体系结构。寄存器说明$gs 交替数据段寄存器$fs 交替数据段寄存器$es 交替转载 2010-01-13 21:47:00 · 808 阅读 · 0 评论 -
GCC参数详解
http://hustwind.bokee.com/3683909.html [介绍] gcc and g++分别是gnu的c & c++编译器 gcc/g++在执行编译工作的时候,总共需要4步 1.预处理,生成.i的文件 2.将预处理后的文件不转换成汇编语言,生成文件.s 3.有汇编变为目标代码(机器代码)生成.o的文件 4.连接目标代码,生成可执行程序 [参数详解]转载 2009-08-27 08:39:00 · 538 阅读 · 0 评论 -
notify-send focus follow
gconftool-2 -s -t string /apps/notify-osd/multihead_mode focus-followorgsettings set com.canonical.notify-osd multihead-mode focus-follow转载 2013-10-03 09:42:36 · 962 阅读 · 0 评论