摘要: Linux文件查找命令find,xargs详述总结:zhy2111314来自:LinuxSir.Org整理:北南南北摘要: 本文是find 命令的详细说明,可贵的是针对参数举了很多的实例,大量的例证,让初学者更为容易理解;本文是zhyfly兄贴在论坛中;我对本文进行了再次整理,为方便大家阅读;目录版权声明前言:关于find命令一、find 命令格式1、find命令的一般形式为;2、find命令的参数;3、find命令选项;4、使用exec或ok来执行shell命令;二、find命令的例子;1、查找当前用户主目录下的所有文件;2、为了在当前目录中文件属主具有读、写权限,并且文件所属组的用户和其他 阅读全文
posted @ 2011-08-07 09:13 bambreeze 阅读(239) 评论(0) 推荐(0) 编辑
摘要: 在linux操作系统下,邮件处理工具Evolution提供了强大的功能,是不可多得的,而且其配置也是比较简单的。Gmail的最新功能里包含了一个pop的开关,这样的话,只有首先手工启用了其pop功能,才能实现使用通常的客户端进行收发邮件了。开启pop功能:登陆gmail邮箱,点击右上角得settings,进入设置窗口,然后点击“Forwarding and POP”标签页,在第二栏POP Download上选择Enable POP for all mail,然后保存所做的修改就可以了。客户端:1.启动Evolution。首次启动会自动弹出设置窗口。2.在名称里输入你的名字,在请求的信息中全名和 阅读全文
posted @ 2011-08-07 09:11 bambreeze 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 1. sudo apt-get install xinetd telnetd 2. 安装成功后,系统也会有相应提示: sudo vi /etc/inetd.conf并加入以下一行 telnet stream tcp nowait telnetd /usr/sbin/tcpd /usr/sbin/in.telnetd3. sudo vi /etc/xinetd.conf并加入以下内容: # Simple configuration file for xinetd # # Some defaults, and include /etc/xinetd.d/ defaults { # Please n 阅读全文
posted @ 2011-08-07 09:09 bambreeze 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 使用alias命令修改用户主目录(就是/home/你的用户名/这个路径)下的.bashrc文件,我的修改如下:alias ll 'ls -lh'alias lll 'ls -lh | less'alias la 'ls -a'alias lf 'ls -F'alias ltr 'ls -ltrh'alias h 'history'alias edc 'vi ~/.bashrc'alias rld 'source ~/.bashrc'alias vv 'gvim 阅读全文
posted @ 2011-08-07 09:00 bambreeze 阅读(162) 评论(0) 推荐(0) 编辑
摘要: (0) Setup share folder between Window & Ubuntusudo mkdir /mnt/windowsdatasudo mount -t vboxsf linuxdata /mnt/windowsdata/(1) Install version control systemsudo apt-get install subversionsudo apt-get install git git-core(2) Install, configure & run TFTP serversudo apt-get install tftpd-hpasud 阅读全文
posted @ 2011-08-07 08:58 bambreeze 阅读(227) 评论(0) 推荐(0) 编辑
摘要: source 命令用法: source filename 或 . filenamesource 命令作用: source命令也称为“点命令”,也就是一个点符号(.)。在当前bash环境下读取并执行FileName中的命令。source命令通常用于重新执行刚修改的初始化文件,使之立即生效,而不必注销并重新登录。如:source .bash_rc 与 . .bash_rc 是等效的。 注意:source命令与shell scripts的区别是,source在当前bash环境下执行命令,而scripts是启动一个子shell来执行命令。这样如果把设置环境变量(或alias等等)的命令写进script 阅读全文
posted @ 2011-08-07 08:57 bambreeze 阅读(304) 评论(0) 推荐(0) 编辑
摘要: By far, the most useful and powerful thing youcan do with I/O redirection is to connect multiplecommands together with what are calledpipes. With pipes, the standard output ofone command is fed into the standard input ofanother. Here is my absolute favorite:[me@linuxbox me]$ ls -l | lessIn this exam 阅读全文
posted @ 2011-08-07 08:56 bambreeze 阅读(302) 评论(0) 推荐(0) 编辑
摘要: Once started, less willdisplay the text file one page at a time. You mayuse the Page Up and Page Down keys to move throughthe text file. To exitless,type "q". Here are some commands thatless will accept:Keyboard commands for the less programCommandActionPage Up or bScroll back one pagePage 阅读全文
posted @ 2011-08-07 08:55 bambreeze 阅读(152) 评论(0) 推荐(0) 编辑
摘要: Interesting directories and their contentsDirectoryDescription/The root directory where the file systembegins. In most cases the root directory onlycontains subdirectories./bootThis is where the Linux kernel and boot loaderfiles are kept. The kernel is a file calledvmlinuz./etcThe /etc directorycont 阅读全文
posted @ 2011-08-07 08:51 bambreeze 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 尽管我们在大部分情况下用ssh登录Ubuntu服务器就好了,但是有时候我们的程序需要在图形界面下运行,这时我们就要用到vnc server这个软件了。在Ubuntu下安装vnc server很简单的,只要下面几步就可以了:第一步,获取安装文件sudo apt-get install vnc4server第二步,修改VNC Password,不能太短 # vncpasswd Password: ****** Verify:*****第三步,检查防火墙,这个就不详细说明了第四步,启动VNC server # vncserver第五步,通过客户端连接 地址后面加:1第六步,发现界面是不是很丑啊!?引 阅读全文
posted @ 2011-08-07 08:49 bambreeze 阅读(316) 评论(0) 推荐(0) 编辑
摘要: Q. I’m new to Linux. Over few days I found lots software distributed as .tar.gz file. How do I install tar.gz files under Linux?A. tar.gz also known astarball, an archive format for electronic data and software. Most Linuxtarball contains a source code for software. If you are new to Linux Irecommen 阅读全文
posted @ 2011-08-07 08:48 bambreeze 阅读(197) 评论(0) 推荐(0) 编辑
摘要: 1. 安装 Open ssh sudo apt-get install ssh 这样,我们就可以用 putty + ssh 远程管理 Ubuntu 了。 说明:PuTTY 是一个小巧精悍的 telnet 和 ssh 终端仿真器。2. 安装 VNC Server sudo apt-get install vnc4server vncpasswd sudo vi .vnc/xstartup 说明:我们可以把"twm &"这一行注释掉, 然后在下面加入一行"gnome-session &",或者是"startkde &&quo 阅读全文
posted @ 2011-08-07 08:46 bambreeze 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 通常情况下,执行失败的命令一旦改变了它所在规则的目标文件,则这个改变了的目标可能不是一个被正确重建的文件。但是这个文件的时间戳已经被更新过了(这种情况也会发生在使用一个信号来强制中止命令执行的时候)。因此在下一次执行make时,由于时间戳更新它不会被再次重建。因此终极目标的重建很难保证是正确的。为了避免这种错误的出现,应该在一次make执行失败之后使用“make clean”来清除已经重建的所有目标,之后再执行make。我们也可以让make自动完成这个动作,实现这个目的我们只需要Makefile中定义特殊目标“.DELETE_ON_ERROR”。但是这个做法存在不兼容。推荐的做法是:在make 阅读全文
posted @ 2011-08-07 08:38 bambreeze 阅读(135) 评论(0) 推荐(0) 编辑