#!/bin/sh # rsync boot file # write by : r.tang # mailto : bashrc@163.com [ -f /etc/init.d/functions ] && . /etc/init.d/functions # basedir=$(dirname $(which rsync)) basedir=/usr/bin pidfile=/
通过配置文件实现单网卡双ip的NAT映射
原文地址:http://shellblog.sinaapp.com/?p=644ubuntu默认输入法为ibus,但更多人喜欢用fcitx,尤其是现在fcitx搭载了搜狗词库和皮肤,使用起来更加方便。1.安装fcitx之前先卸载ibus1$ sudo apt-get purge ibus ibus-gtk ibus-gtk31$ sudo apt-get purge ibus-pinyin ibu
原文地址:http://www.pocketdigi.com/20120109/601.html当插上鼠标后,禁用触摸触摸板;拔下鼠标后,启用触摸版本# 第一步,添加ppa sudo add-apt-repository ppa:atareao/atareao # 第二步,更新软件列表,安装touchpad-indicator sudo apt-get update sudo apt-ge
原文:http://blog.chinaunix.net/uid-25326-id-251669.html源码包下载地址:http://down.51cto.com/data/852581 使用mailx发送电子邮件(转贴)mailx是一个比较小型的电子邮件发送和读取的程序他支持多种加密方式SSL,NSS,kerberos用户身份验证在默认的情况下, 他将邮件发往本地的MTA(Mail Trans
shell变量赋值:name=string“=”是赋值符号。两边不能直接跟空格,否则shell将视为命令。string是被赋予的变量值。若string中包含空格、制表符和换行符,则string必须用单双引号将其括起来。双引号了允许使用变量替换,单引号内不能。引用变量:1、在变量名前使用$字符,即$name的形式引用变量的值2、为了界定变量名,避免混淆,也可以使用 ${name}的格式引用。变量输出
原文地址:http://sprewell.blog.163.com/blog/static/28615246201222795247135/find dir -name filename #基本格式如果需要更进一步的了解,可以参看Linux的命令详解。这里摘抄如下:find path -option [ -print ] [ -exec -ok command ] {} /;#-print 将
Copyright © 2005-2025 51CTO.COM 版权所有 京ICP证060544号