linux/unix
文章平均质量分 70
flex4
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Linux下更改用户的主目录
文章转载自: http://blog.csdn.net/mfjun007/article/details/611901 作者:mfjun007(子皿) 近日使用Red Hat Linux AS 4时,遇到剩余磁盘空间不能利用的问题。因为以前在使用图形工具或者命令建立用户时,并没有注意用户的主目录全部选择的是默认的即 /home/用户名,近日提示磁盘空间不足时,感到非常迷惑,为什么80G转载 2012-01-11 17:18:54 · 1397 阅读 · 0 评论 -
git服务器搭建过程
from :http://blog.csdn.net/ice520301/article/details/6142503Author: ice520301http://blog.csdn.net/ice520301/article/details/6142503参考网上资料搭建git服务器过程记录 如下:需求硬件需求:一台Ubuntu或者debian电脑转载 2012-08-22 14:34:28 · 702 阅读 · 0 评论 -
Installing Git on a server (Ubuntu or Debian)
Installing Git on a server (Ubuntu or Debian)From: http://www.hackido.com/2010/01/installing-git-on-server-ubuntu-or.htmlI'm shutting down my old blog for good soon.. This is one of the last p转载 2012-08-20 22:33:52 · 808 阅读 · 0 评论 -
7 Linux Grep OR, Grep AND, Grep NOT Operator Examples
by Ramesh Natarajan onOctober 21, 2011http://www.thegeekstuff.com/2011/10/grep-or-and-not-operators/Question: Can you explain how to use OR, AND and NOT operators in Unix grep command with转载 2012-07-30 19:57:24 · 963 阅读 · 0 评论 -
shell脚本“syntax error:unexpected end of file”解决方案
From: http://renyongjie668.blog.163.com/blog/static/1600531201172803244846/2011-08-28 12:53:18| 分类:编程技术 | 标签:shell linux 学习笔记 编程 |字号 订阅今天在写Shell时,运行时出现了这样的错误。git-sync-tree.sh转载 2012-08-10 21:57:54 · 4030 阅读 · 0 评论 -
sudo: sorry, you must have a tty to run sudo
from: http://www.question-defense.com/2009/03/23/sudo-sorry-you-must-have-a-tty-to-run-sudoI was recently working on a Perl script that would SSH to another server and run a sudo command on the re转载 2012-07-13 09:31:08 · 1100 阅读 · 0 评论 -
Send Remote Commands Via SSH
from: http://systemsboy.com/2006/07/send-remote-commands-via-ssh.htmlThis is one of those “I’m posting it so I remember, ’cause I keep forgetting” posts. It’s also astoundingly cool, though, i转载 2012-07-13 09:16:08 · 776 阅读 · 0 评论 -
Ubuntu 中sendmail 的安装、配置与发送邮件的具体实现
from: http://mars914.iteye.com/blog/1470961 author:mars914一、安装 ubuntu中sendmail函数可以很方便的发送邮件,ubuntu sendmail先要安装两个包。必需安装的两个包:Java代码 "font-size: small;">sudo apt-get i转载 2012-07-11 17:19:49 · 2089 阅读 · 0 评论 -
phpize以及memcache安装
phpize以及memcache安装 转载自: http://www.cooli.cc/archives/70.html 作者: 酷爱–cooli.cc解压Centos.**.isomount -o loop **.iso /path安装php-devel(phpize包含在该包中)yum install php-develrpm -ivh *.rpmLinux下的转载 2012-05-10 14:44:57 · 967 阅读 · 0 评论 -
vim多行注释、替换和其他操作
转载自: http://hi.baidu.com/yanyulou/blog/item/728ba344709aea81b3b7dc6d.html原作者:网友 听妈妈的话多行注释::.,+3 s/^/#/g 注释从当前行起的后三行(不含当前行)vi替换命令用法详解:引用:ranges/pat1/pat2/g 其中 : 这是V转载 2012-05-02 16:17:42 · 1606 阅读 · 0 评论 -
tmux 键盘操作
Originally article please refer to:here类似各种平铺式窗口管理器,tmux使用键盘操作,常用快捷键包括:Ctrl+b激活控制台;此时以下按键生效系统操作?列出所有快捷键;按q返回d脱离当前会话;这样可以暂时返回Shell界面,输入tmux attach能够重新进入之前的会话转载 2012-03-23 16:15:50 · 956 阅读 · 0 评论 -
Basic "vi" features
To see the original article please refer to link: http://www.yolinux.com/TUTORIALS/LinuxTutorialAdvanced_vi.html One edits a file in vi by issuing the command: vi file-to-edit.txtThe vi ed转载 2012-03-22 08:42:42 · 507 阅读 · 0 评论 -
shell 的If语句解析
第一部分 转载自:http://canofy.iteye.com/blog/252289第二部分 转载自:http://hi.baidu.com/caosicong/blog/item/7873e2166b8f6154f3de3280.html判断文件是否存在:shell判断文件,目录是否存在或者具有权限 #!/bin/sh myP转载 2012-03-13 22:18:22 · 810 阅读 · 0 评论 -
[阮一峰]处理Apache日志的Bash脚本
原文转载自: http://www.ruanyifeng.com/blog/2012/01/a_bash_script_of_apache_log_analysis.html 作者:阮一峰处理Apache日志的Bash脚本作者: 阮一峰日期: 2012年1月 6日去年一年,我写了将近100篇网络日志。现在这一年结束了,我要统计"访问转载 2012-02-21 15:28:26 · 1273 阅读 · 0 评论 -
Set up Memcached as a service
From: http://www.lullabot.com/articles/installing-memcached-redhat-or-centos (Lullabot)Just having memcache installed will not do anything by itself, we need to actually start up some instan转载 2012-08-23 22:27:37 · 602 阅读 · 0 评论
分享