$ ln f1 f2 #创建f1的一个硬连接文件f2$ ln -s f1 f3 #创建f1的一个符号连接文件f3$ ls -li # -i参数显示文件的inode节点信息
分类:
其他好文 时间:
2014-06-28 20:26:59
阅读次数:
174
Mapreduce 模式中的 Pig对于 MapReduce 模式,必须首先确保 Hadoop 正在运行。要做到这一点,最简单的方法是在 Hadoop 文件系统树的根上执行文件列表操作,如 清单 3 所示。清单 3. 测试 Hadoop 可用性$ hadoop dfs -ls /Found 3 it...
分类:
其他好文 时间:
2014-06-18 22:46:01
阅读次数:
490
相信喜爱编程,痴迷技术的你,肯定接触过甚至深爱着linux,甚至可能已经非常熟悉linux了,但是linux那逗比的一面,你又知道多少。
本文!纯粹娱乐!不喜勿喷!
1.程序员的愤怒!
yes当我们再终端输入yes命令,你就回看到愤怒地y怒刷屏!
2.小火车sl
我相信ls你每天输入无数次,但是sl你又知道不知道?
我们需要安装一下
sudo yum install sl
ubunt...
分类:
系统相关 时间:
2014-06-18 06:48:07
阅读次数:
414
linux命令无效-bash:ls:commandnotfound一次重启后开机,基本所有的命令都不可用,只有少数的命令可用[root@centos-1~]#ll-bash:ls:commandnotfound[root@centos-1~]#pwd/root[root@centos-1~]#shutdown-rnow-bash:shutdown:commandnotfound[root@centos-1~]#export$PATH-bash:..
分类:
系统相关 时间:
2014-06-17 17:45:16
阅读次数:
368
vi.profile-----------------aliasls=‘ls-F‘aliascls=‘clear‘aliasgrep=‘grep--color=auto‘CLICOLOR="xterm-color"LSCOLORS="gxfxcxdxcxegedabagacad"exportCLICOLORLsCOLORSvi.vimrc-----------------syntaxon
分类:
其他好文 时间:
2014-06-17 17:27:36
阅读次数:
280
十六. 文件查找命令find: 下面给出find命令的主要应用示例: /> ls -l #列出当前目录下所包含的测试文件 -rw-r--r--. 1 root root 48217 Nov 12 00:57 install.log -rw-r--r--. 1 root root 37 Nov 12 ...
分类:
系统相关 时间:
2014-06-17 14:45:55
阅读次数:
284
1. linux文件的时间
linux下文件时间主要有下面三种:
1.1 modification time(mtime)文件修改时间,即文件内容的修改时,更新这个时间,不包括文件权限和属性的修改。
使用ls -l查看,默认显示时间为mtime...
分类:
系统相关 时间:
2014-06-16 20:41:46
阅读次数:
432
1.什么是特殊权限?我们知道权限有r,w,x。其实除了这三个,还有特殊权限。比如:[root@localhost~]#ls-l/usr/bin/passwd
-rwsr-xr-x1rootroot22960Jul172006/usr/bin/passwd可以发现权限位,有个s。特殊权限有如下3种:SUIDSGIDSTICKY2.关于suid我们知道linux有一个进程安全模..
分类:
系统相关 时间:
2014-06-16 17:13:04
阅读次数:
283
linux下Oracle11g RAC搭建(六)
五、校验安装前的环境
root身份下完成解压grid、database安装包
[grid@node1 soft]$ su -
Password:
[root@node1 ~]# cd /soft
[root@node1 soft]# ls
asm linux_11gR2_database_1of2.zip lin...
分类:
数据库 时间:
2014-06-15 15:30:03
阅读次数:
714
package com.he.list;
import java.util.Arrays;
import org.w3c.dom.ls.LSException;
class ArrayList {
private int length;// the list's length
private int[] store;// store the data
// initialize ...
分类:
其他好文 时间:
2014-06-14 11:16:05
阅读次数:
224