
linux
文章平均质量分 55
iteye_3911
这个作者很懒,什么都没留下…
展开
-
linux下Oracle自己启动
[quote]http://bbs.51cto.com/topic/thread-688286.html[/quote]linux下 Oracle自动启动与停止1、 修改Oracle系统配置文件/etc/oratab /etc/oratab 格式为: SID:ORACLE_HOME:AUTO 把AUTO域设置为Y(大写),只有这样,oracle 自带的dbstart...原创 2011-12-12 16:03:15 · 131 阅读 · 0 评论 -
grep 实用例子
首先创建示例文件$ cat demo_fileTHIS LINE IS THE 1ST UPPER CASE LINE IN THIS FILE.this line is the 1st lower case line in this file.This Line Has All Its First Character Of The Word With Upper Case....原创 2012-07-13 16:00:05 · 116 阅读 · 0 评论 -
SSH password less login
http://www.thegeekstuff.com/2008/11/3-steps-to-perform-ssh-login-without-password-using-ssh-keygen-ssh-copy-id/原创 2012-04-25 20:15:11 · 371 阅读 · 0 评论 -
Linux File descriptor limit
1. Find out what the current open file descriptor limit is. $more /proc/sys/fs/file-max753825 or $sysctl -a | grep fs.file-maxfs.file-max = 7538252. View how many open file descriptor...原创 2012-11-01 13:38:53 · 990 阅读 · 0 评论 -
sed tool basic
语法sed [options] '{command}' [filename]替换命令's/{old value}/{new value}/'例子$echo The tiger cubs will meet on Tuesday afer school | sed 's/tiger/wolf/'The wolf cubs will meet on Tuesday afer...原创 2012-06-19 20:12:02 · 87 阅读 · 0 评论 -
sed 系列: 怎样用sed写文件
In this article, let us review how to extract part of one file and write it to another file using sed.Sed provides “w” command to write the pattern space data to a new file.Sed creates or ...原创 2012-06-19 20:24:51 · 278 阅读 · 0 评论 -
sed 系列: 用正则表达式查找和替换
The `s’ command is probably the most important in `sed’ and has a lot of different options.The `s’ command attempts to match the pattern space against the supplied REGEXP; if the match is successf...原创 2012-06-19 20:55:11 · 3076 阅读 · 0 评论 -
sed 系列: 分支操作
无条件分支语法$ sed ':label command(s) b label':label - specification of label.commands - Any sed command(s)label - Any Name for the labelb label – jumps to the label with out checking any conditio...原创 2012-06-21 11:47:06 · 399 阅读 · 0 评论 -
sed系列:用地址或者模式匹配输出文件行
Unix Sed Introduction sed is a “non-interactive” stream-oriented editor. Since its an “non-interactive” it can be used to automate editing if desired. The name sed is an abbreviation for stream ed...原创 2012-06-21 15:02:06 · 143 阅读 · 0 评论 -
sed系列:行或者模式匹配删除特定行
“p” command prints the buffer (remember to use -n option with “p”)“d” command is just opposite, its for deletion. ‘d’ will delete the pattern space buffer and immediately starts the next cycle.S...原创 2012-06-21 15:52:41 · 948 阅读 · 0 评论 -
sed系列:多命令执行
Syntax:#sed -e 'command' -e 'command' filenameNote: -e option is optional for sed with single command. sed will execute the each set of command while processing input from the pattern buffer.让我们...原创 2012-06-22 17:01:01 · 748 阅读 · 0 评论 -
Add environment variables for all users
/etc/profileexampleexport HBASE_HOME=/usr/local/hbaseexport JAVA_HOME=/usr/local/javaexport HADOOP_HOME=/usr/local/hadoop_20_1export FLUME_HOME=/usr/local/flumeexport KATTA_HOME=/u...原创 2012-02-09 11:51:21 · 171 阅读 · 0 评论 -
Hadoop Cluster Setup
http://ankitasblogger.blogspot.com/2011/01/hadoop-cluster-setup.htmlhttp://ankitasblogger.blogspot.com/2011/05/installing-flume-in-cluster-complete.html原创 2012-01-13 16:11:42 · 140 阅读 · 0 评论 -
linux下查找文件内容
#> find . -type f -exec grep 'mingtian' -l {} \;grep -l :是显示匹配的内容的文件名字!或者:#> find . -type f -name "*.*" |xargs grep 'xiaoshou' -l(这个方法 不好,挺乱的,还慢,推荐前一个方法!)...原创 2012-01-13 13:30:17 · 98 阅读 · 0 评论 -
linux 手动安装 oracle
[quote]http://gohands.iteye.com/blog/372428[/quote]Linux下安装Oracle 11此为参照CU论坛上的高人写的文章并结合自身环境增加了点细节性的东西操作系统 CentOS 4.2 2.6.11.8内核安装准备下载Oracle11安装包内存最少1G硬盘空间最6G交换分区最少1024M,如...原创 2011-12-12 16:07:35 · 337 阅读 · 0 评论 -
shutdown command
1 shutdown -h now用来使系统halt,等到你收到"System halted" 或者 "Power down"之后你再关闭计算机2 因为linux是一个面向网络的计算机,所以,在你关机的时候不要立即关闭,而是要留给其他用户时间来处理他们自己的程序。应该使用以下的命令:shutdown -h 20:01在下午8点零一分关闭计算机,或者“shutdown -h +5“五分钟以后关闭...原创 2010-06-05 19:45:48 · 115 阅读 · 0 评论 -
别名初探
bash中的别名用于简化或者安全操作:修改.bashrc增加以下别名:alias cp='cp -v -i'alias rm='rm -i'alias mv='mv -i'logout以后Login,别名生效如果想要别名即时生效可用如下命令:source .bashrc...原创 2010-06-06 10:54:56 · 75 阅读 · 0 评论 -
pipe
管道:一个命令的输出作为另外一个命令的输入。这里的输入和输出都是广义的。在终端,如果你忘记了使用less命令还想看屏幕的内容可以用shift+pageup, shift+pagedown...原创 2010-06-07 18:20:46 · 77 阅读 · 0 评论 -
Linux 学习网站
Native:www.xxlinux.comwww.chinaunix.comwww.linuxforum.netAmerican:www.linux.orghttp://www.linux-mag.com/id/522/http://tldp.org/www.linux.com原创 2010-06-07 18:21:47 · 68 阅读 · 0 评论 -
GRUB
http://www.dedoimedo.com/computers/grub.htmlhttp://www.gnu.org/software/grub/manual/legacy/grub.html原创 2012-01-03 12:22:31 · 108 阅读 · 0 评论 -
Shell Command study
http://www.dedoimedo.com/computers/linux_commands.html原创 2012-01-03 15:25:43 · 74 阅读 · 0 评论 -
Best Linux Books
http://www.linuxlinks.com/article/20090405061458383/20oftheBestFreeLinuxBooks-Part1.htmlhttp://www.linuxlinks.com/article/20100402190204972/12MoreoftheBestFreeLinuxBooks-Part1.htmlUseful boo...原创 2012-01-03 15:56:59 · 92 阅读 · 0 评论 -
CDH3
CDH3 bookO'Reilly's 'Hadoop: The Definitive Guide'http://dl.dbank.com/c0hh1arjizhttp://down.51cto.com/data/221416#原创 2012-01-05 11:46:46 · 116 阅读 · 0 评论 -
FTP
简单上传下载实例(/*....*/为注释): 先假设有一FTP服务器,FTP服务器:qint.ithot.net,用户名:username 密码:user1234。在本地电脑D:盘创建一个文件夹"qint"。将要上传的文件复制到d:qint里。通过FTP命令将文件从本地上传,从服务器下载的步骤如下: 1.“开始”-“运行”-输入“FTP” 2.open qint.ith...原创 2012-01-12 15:58:18 · 87 阅读 · 0 评论 -
sed系列:文件多行操作
Sed reads line by line, removes any trailing new lines, places a line in a pattern space buffer, process as per the given commands and prints the pattern space.n case, if you want to delete all the ...原创 2012-06-26 12:51:13 · 303 阅读 · 0 评论