51CTO博客开发老丁的技术博客张宇(数据恢复)抚琴煮酒
undo t m sys # sysname SaiOu_Saiou_3HaoLou_2F_S2326 # undo dhcp enable # vlan 1964 q # interface Vlanif 1964 description TO_Guangli ip a
en conf hostname BJBJ-WLAN-SW-10682520-0002-RJRG/S3760E vlan 1106 name ap_and_manager_vlan exit interface vlan 1106 ip address 10.255.133.99 255.255.255.240 no shutdown exit ip
#!/bin/bash #指定运行的脚本的shell #运行脚本要给用户权限 backdir=/backup' month='date +%m' day='date+%d' year=‘date+%y' hour='date+%k' min='date+%m' dirname=$year-$month-$day-$hour-$min mkdir $bak
#!/bin/bash #制定运行的脚本shell #运行脚本要给用户执行权限 backdir=/backup' month='date +%m' day='date+%d' year=‘date+%y' hour='date+%k' min='date+%m' dirname=$year-$month-$day-$hour-$min mkdir $ba
#!/bin/bash PATH=/usr/local/sbin:/usr/bin:/bin #The directory of backup BACKDIR=/usr/mysql_backup #The password of mysql ROOTPASS=password #Remake the directory of backup
#!/bash/sh ########################################### #this script is used for svn repository backup #written:carywu #date:2008/11/21 ########################################### &
#! /bin/bash for name in tom jerry joe jane do useradd $name echo redhat | passwd --stdin $name done
for i in $(seq 200 253) do ssh 192.168.159.$i -c mkdir /root/.ssh scp ~/.ssh/id_rsa.pub 192.168.1。$i/root/.ssh/authorized_key s done
#!/bin/bash #desc: setup linux system security #author #powered by www.freebsdsysystem.org #version 0.1.2 written by 2011.05.03 #设置账号 passwd -1 xfs passwd -1 news passwd -1 nscd
#!/bin/bash while ; do vmr='vmstat | tail -l \ | awk '{print $1}' if [ ${vmr} -gt 4 ] R的阀值为4 then date >> /root/monitor.txt vmstat >>
Copyright © 2005-2025 51CTO.COM 版权所有 京ICP证060544号