importosimportsocketname=socket.gethostname()ip=socket.gethostbyname(name)os.environ['name']=str(name)os.environ['ip']=str(ip)os.system('df-h>/mnt/temp/$name-$ip.txt')
命令模式: i 在光标前插入文本 o 在下一行插入新行 yy 复制 n+yy 复制n行 &n
[root@server1 ~]# mysql_secure_installationNOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQLSERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!In order to log into MySQL to s
mysql的基础操作指令整理|环境redhat61.安装 yum-y install mysql mysql-server service mysqld start|stop|restart ##启动|停止|重启 chkconfig mysqld on|off &n
1.安装X: apt-get install x-window-system-core2.桌面和gdm apt-get install gdm a)apt-get install ubuntu-desktop b)apt-get install --no-install-recommends u
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号