Hide From All
RobertLeeJesus · 共 138 篇文章
如何学习Linux?
1、以linux为荣耀,以帮助他人了解和学习linux为己任。 2、坚持访问英文网站,尤其是一些大师的个人主页。坚持阅读英文文档,并尽量翻译你读过的文档发表到国内的社区上供他人阅读和整理 3、了解unix的历史,linux的历史和hacker的历史及文化。 4、尽可能联系所以可以联系到Linux的爱好者,尽可能多的了解你能接触到的最了解linux的人对linux的看法。并于自己的观点相比较。 5、空闲时思索为什么自己喜欢linux,别人为什么喜欢linux。为什么你们喜欢的理由不同? 6、阅读各类的开源许可协议和商业的用户许可协议。对比他们各有哪些问题和优势。 以上使你了解开源文化,是作为一…
2008-08-20 14:59 · Linux - Miscellaneous · 评论(0)
Linux GUI Structure
很多LINUX初学者分不清楚linux和X之间,X和Xfree86之间,X和KDE,GNOME等之间是什么关系.常常混淆概念,我想以比较 易 于理解的方式说明一下X,X11,XFREE,WM,KDE,GNOME等之间的关系.由于本人水平有限可能存在错误,请高手指正. 一,linux本身没有图形界面,linux现在的图形界面的实现只是linux下的应用程序实现的. 图形界面并不是linux的一部分,linux只是一个基于命令行的操作系统,linux和Xfree的关系就相当于当年的DOS和 WINDOWS3.0一样,windows3.0不是独立的操作系统,它只是DOS的扩充,是DOS下的应用程序…
2008-08-19 16:14 · Linux - Miscellaneous · 评论(0)
bash学习笔记 - 2008/08/19
1、搜索含有某个指令的脚本:find /etc 2>/dev/null | xargs grep 'awk ' 2>/dev/null 说明: find /etc 查找/etc 目录下的所有文件,并显示文件名 2>/dev/null 把所有的错误信息,如权限错误,不能访问等等 重定向倒看不到的虚拟设备,只显示有用信息。(1代表“标准输出”,2代表“标准错误输出”) | 把前一个命令的输出以管道的方式传给后面的命令 xargs 对输入的每一个参数,循环执行后面的命令 grep 'awk' 在指定文件中查找字符串,这里的输入文件时xargs命令传过来的,每次去一个find输出的文件名 2、正则替…
2008-08-19 13:49 · Linux - Miscellaneous · 评论(0)
System initialization files.
1. System level initialization file. /etc/profile /etc/bash.bashrc They are invoked by root user. 2. User level initialization file. $HOME/.profile $HOME/.bashrc They are invoked by current login user.
2008-08-18 13:57 · Linux - Miscellaneous · 评论(0)
Input and output redirection
0、1和2分别表示标准输入、标准输出和标准错误信息输出 0: 标准输入 1: 标准输出 2: 标准错误 >: Redirect standard output 1>: The same as last one, redirect standard output 2>: Redirect standard error &>: Redirect both standard error and standard output >, overwrite >>, append < input
2008-08-18 11:15 · Linux - Miscellaneous · 评论(0)
How to copy files between two Linux machines?
1. Upload file. scp source.txt robert@9.186.23.31:/opt/temp/dest.txt 2. Download file. scp robert@9.186.23.31:/opt/temp/dest.txt source.txt After is is run, you will be prompted to input the password for user robert. Reference http://www.linuxdiyf.com/viewarticle.php?id=15013
2008-08-13 16:16 · Linux - Miscellaneous · 评论(0)
Oracle products and document
http://www.oracle.com/technology/documentation/index.html http://www.oracle.com/technology/products/index.html
2008-08-02 16:14 · Oracle · 评论(0)
Search and replace files in linux
1. How to use child commands with find ? find . -name classes -exec rm -r -f {} \ ; Please note there is a blank between {} and \; 2. How to use grep ? grep [options] PATTERN [FILES] Recursively search grep -r string_pattern * 3. How to use locate to find file? updatedb locate **/*.xml 4. How to fi…
2008-07-31 19:43 · Linux - Miscellaneous · 评论(0)
Introduce 2 tools used to draft diagrams(linux)
1. IHMC CmapTools Concept diagram. 2. yEDGraph Editor Concept diagram, simple UML class diagram. Reference http://blog.eshangrao.com/2006/09/11/276/
2008-07-30 14:59 · Linux - Miscellaneous · 评论(0)
The rights and previledges in Linux.
1. The rights on the file system. Rights Owner User Owner Group drwxr-xr-x 2 robert robert 4096 2008-07-26 11:44 Pictures drwxr-xr-x 2 robert robert 4096 2008-07-26 11:44 Public Owner user and Owner Group owns the file or folder. drwxrwxrwx, from left to right, it means (1). d : Dir (2). The first …
2008-07-29 19:35 · Linux - Miscellaneous · 评论(0)
Install Ubuntu on T61.
http://ivanl.iteye.com/blog/215554 http://www.thinkwiki.org/wiki/Installing_Ubuntu_8.04_(Hardy_Heron)_on_a_ThinkPad_T61
2008-07-29 19:03 · Linux - Miscellaneous · 评论(0)
How to check the usage of net ports in linux?
netstat -tln netstat -tulnp
2008-07-29 17:47 · Linux - Miscellaneous · 评论(0)
Command history in linux - sqlplus
In Linux, sqlplus has no command history. Please use the tool to do the same thing. 1. apt-get install rlwrap 2. rlwrap sqlplus Then export the editor as vim, then it is cool. export EDITOR=/usr/bin/vim
2008-07-29 16:31 · Linux - Miscellaneous · 评论(0)
How to log in with root user in ubuntu - sudo -s
sudo -s
2008-07-28 19:34 · Linux - Miscellaneous · 评论(0)
Unix command coloring.
1. System.out.println("\u001b[1;31mhahahahhaha\u001b[1;37m"); hahahahhaha \u001b[1;31m means to start with red. \u001b[1;37m means to start with default color, that is to say, close the coloring. 2. alias cvsDirty="cvs status | grep File | grep Modified | sed 's#\(File:.*Status:.*\)#\x1b[1;31m\1\x1…
2008-07-28 16:27 · Linux - Miscellaneous · 评论(0)