Linux 重命名 将一个名为abc的文件重命名为123:mv abc 123
#包中找类# jar tvf /usr/local/hadoop/lib/guava-r09-jarjar.jar | grep LinkedListMulti
chmod 777 *
tar zcvf file.tgz file/
tar -zxvf file.tgz
chown gt file -R
chgrp gt file -R
ssh-keygen
ssh-copy-id localhost
ln -s hadoop-2.0.0-cdh4.1.2 hadoop
netstat -nat
find / -name "filename" grep "word" ./* -R
-----------------------------------------------------------------------------------------
git clone 报错信息
Permission denied (publickey). fatal: Could not read from remote repository.
ssh-keygen -t rsa -C "your_email@youremail.com"
默认的一路回车就行。成功的话会在~/下生成.ssh文件夹,进去,打开id_rsa.pub,复制里面的key。
回到github.com,进入Account Settings,左边选择SSH Keys,Add SSH Key,title随便填,粘贴key。
git config --global user.name "your name"
git config --global user.email "your_email@youremail.com"