网站建设公司公司哪家好,厦门新闻头条最新消息,ps做素材下载网站,网站建设 腾云1、考虑下面的需求#xff0c;在主shell执行命令#xff0c;进入其他的命令#xff0c;后面的输入#xff0c;想作为命令的输入#xff0c;而不是主shell的输入#xff0c;怎么办#xff1f;2、使用3、这里的EOF只是分界符#xff0c;使用其他的字符也可以。4、比如…1、考虑下面的需求在主shell执行命令进入其他的命令后面的输入想作为命令的输入而不是主shell的输入怎么办2、使用3、这里的EOF只是分界符使用其他的字符也可以。4、比如cat不使用EOF如下[rootlocalhost ~]# cat 111.txtabcd1234[rootlocalhost ~]# more 111.txtabcd1234使用EOF[rootlocalhost ~]# cat 111.txt aaaa bbbb EOF[rootlocalhost ~]# more 111.txtaaaabbbb5、mysql安装后之后忘记密码可使用说下面的脚本如下/etc/init.d/mysqld stopservice mysqld start --skip-grant-tablessleep 4mysql -hlocalhost EOFupdate mysql.user set passwordpassword(123456) where user root;grant all privileges on *.* to root% identified by 123456 with grant option;flush privileges;EOF/etc/init.d/mysqld restart