文章列表
清除版本信息
for /r ./ %a in (./) do @if exist "%a\.svn" rd /s /q "%a\.svn"
启动
/opt/svn/bin/svnserve -d --listen-port 9999 -r /opt/svndata
svn配置
建立版本库目录,可建多个:
mkdir -p /opt/svndata/repos1
mkdir -p /opt/svndata/repos2
建立版本库:
svnadmin create /opt/svndata/repos1
svnadmin create /opt/s ...
常用备份
/etc/init.d/mysql start
/etc/init.d/mysql stop
/etc/init.d/mysqld start
use mysql;
select host,user,password from user;
添加 MySQL 用户(user name:user1,password:sql):
grant all on *.* to user1@'%' identified by 'sql' with grant option;
删除 MySQL 用户:
delete from user where user='user1';
select ...
ps -efww|grep tomcat|grep -v grep|cut -c 9-15|xargs kill -9
关闭/etc/rc.d/init.d/iptables stop
开启/etc/rc.d/init.d/iptables start
查看当前配置:iptables -L
启动adsl /usr/sbin/adsl-start
停止adsl /usr/sbin/adsl-stop
/usr/sbin/adsl-status
who -b
last reboot
2、启动和禁止网卡
/sbin/ifconfig eth0 up 或者ifup eth0 ...
1. function get_form_value(){
2.
3. /*获得TEXT.AREATEXT的值*/
4.
5. var textval = $("#text_id").attr("value");//或者
6.
var textval = $("#text_id").val();
8.
9. /*获取单选按钮的值*/
10.
11. var valradio = $("input[@type=radio][@checked]& ...