在测试中需要在两台虚拟机之间传递文件,首先想到的是scp命令,结果提示:-bash:scp:commandnotfound想当然用yuminstallscp命令安装,结果提示:Nopackagescpavailable.后来发现scp这东西应该属于openssh-clients这个包,运行:yuminstallopenssh-clients再运行scp就可以了,再..
分类:
其他好文 时间:
2014-09-06 18:51:04
阅读次数:
476
tomcat启动时,出现下面错误,然后tomcat不能正常关闭:九月 06, 2014 9:53:43 上午 org.apache.catalina.core.StandardServer await警告: StandardServer.await: Invalid command 'SUTDOWN...
分类:
其他好文 时间:
2014-09-06 10:52:23
阅读次数:
175
Mac OS 采用Unix的文件系统
根目录位置是 /
驱动所在位置 /System/Library/Extensions
用户文件夹位置 /Users/用户名
桌面的位置 /Users/用户名/Desktop
文件通配符为星号 *
注意:在 Unix系统中是区别大小写字符的,A.txt 不等于 a.txt。
如何进入命令行操作模式
在图形界面下,用f...
分类:
其他好文 时间:
2014-09-05 23:53:22
阅读次数:
498
常用命令临时环境变量添加:alias mysql=/usr/local/mysql/bin/mysql永久环境变量添加:~/.bash_profile快捷键shift + command + 3 截取全屏幕至桌面shift + command + 4 截取部分屏幕至桌面
分类:
其他好文 时间:
2014-09-05 23:42:52
阅读次数:
157
Aliases?for?Other?Command
Alias Short for ... Alias Short for ...
bt backtrace i info
c continue l list
cont ...
分类:
数据库 时间:
2014-09-05 22:31:52
阅读次数:
283
After installed the the graphical card driver in Ubuntu, the gnome desktop was not working anymore, needs to install and setup the wireless network, herewith the procedure,...
分类:
Web程序 时间:
2014-09-05 22:27:02
阅读次数:
226
By way of wsadmin command:/bin/>wsadmin -conntype NONEwsadmin>securityoffwsadmin>exitRestart the servers.Enable the security from administrative conso...
分类:
Web程序 时间:
2014-09-05 14:12:01
阅读次数:
196
Command + O:显示大纲 Command + 1:快速修复 Command + D:删除当前行 Command + Option + ↓:复制当前行到下一行 Command + Option + ↑:复制当前行到上一行 Option + ↓:当前行和下面一行交互位置 Option...
分类:
系统相关 时间:
2014-09-05 13:04:11
阅读次数:
278
windows 下,清除.svn FOR /F "tokens=*" %%G IN ('DIR /B /AD /S *.svn*') DO RMDIR /S /Q "%%G"You can also issue the line below straight from the Command Pro...
sed是一个很好的文件处理工具,本身是一个管道命令,主要是以行为单位进行处理,可以将数据行进行替换、删除、新增、选取等特定工作,下面先了解一下sed的用法sed命令行格式为:sed [-nefri] ‘command’ 输入文本常用选项:-n∶使用安静(silent)模式。在一般 sed 的用法中,...
分类:
其他好文 时间:
2014-09-05 02:07:40
阅读次数:
241