一、获得当前文件夹的路径: 在目标文件夹下,按Ctrl+l此文件的路径会被选中 之后Ctrl+c复制。要复制到终端(Terminal),选中终端按鼠标的滚轮就粘贴到了Terminal命令行中了。 二、更新文件夹视图: 可以点查看-》首选项-》‘更改默认’设置。也可以按快捷键ctrl+1,ctrl+2...
分类:
其他好文 时间:
2014-07-08 00:04:11
阅读次数:
221
1.USEREVN()返回当前用户环境的信息,opt可以是: ENTRYID,SESSIONID,TERMINAL,ISDBA,LABLE,LANGUAGE,CLIENT_INFO,LANG,VSIZE1.ISDBA 查看当前用户是否是DBA如果是则返回true SQL> select useren...
分类:
数据库 时间:
2014-07-01 13:07:57
阅读次数:
264
俗话说“工欲善其事必先利其器”,没错,对于运维更是如此,每天都需要用终端远程管理服务器,这个终端就是运维的器,废话少说:
mac native Terminal已经很好用,虽然有些不足,直到发现iterm2。。。
以下仅列举iterm2完胜terminal的、让你心动的features:
1、support zmodem(for simply transfer file b...
分类:
其他好文 时间:
2014-07-01 06:55:46
阅读次数:
314
回忆今天所学。 今天学习了一些Linux系统的一些基本操作。 我是用Vmware虚拟机装的Ubuntu系统。 学习Linux的命令行指令,可以进入Ubuntu的terminal或者直接Ctrl+Alt+F1~F2 进入tty1~tty6的命令行,按Ctrl+Alt+F7或F8回到图形界面。...
分类:
系统相关 时间:
2014-06-30 13:03:36
阅读次数:
304
虽然有很多第三方工具(Alfred、keyboad
Maestro)可以设置全局启动terminal快捷键,但怎么感觉都不如native的好,呵呵,本文就使用mac 自带的Automator来创建一个launch application的服务,然后在系统偏好设置中keyboard设置service的全局快捷键,实践证明挺好用的,步骤如下:
1、create a service
d...
分类:
其他好文 时间:
2014-06-30 00:05:34
阅读次数:
251
问题:
I am trying to install apache maven 3 in Ubuntu 12.04 lts. What I did was open the terminal then I typed the following commands
export M2_HOME=/usr/local/apache-maven/apache-maven-3.0.5 ...
代码:SELECTa.First_Load_Time,
a.Sql_Text,
s.Sid,
s.Serial#,
s.Program--,
,
a.*
--Utl_Inaddr.Get_Host_Address(s.Terminal)Ip
FROMV$sqlareaa,V$sessions
WHEREs.Sql_Address(+)=a.Address
ANDUpper(a.Sql_Text)LIKE‘%DELETEFROM%MTL_TRANSACTIONS_INTERFACE%‘;有人删除..
分类:
数据库 时间:
2014-06-28 00:41:47
阅读次数:
423
You may need to set up a root account for your MySQL database:In the terminal type:mysqladmin -u root password 'root password goes here'
分类:
数据库 时间:
2014-06-27 17:14:06
阅读次数:
210
答案1:The shell is a typical Unix program. It reads commands from the standard input and prints something on the standard output. This is simple and goo...
分类:
其他好文 时间:
2014-06-27 16:12:37
阅读次数:
260
MAC COCOA call command 调用终端控制台程序
STEP 1
先写一个C++ DOS程序
STEP2
使用NSTask来执行,然后用NSPipe和
NSData来接受执行的结果字符串。
先写一个函数:
/*******************************
Function : NSTask Class + Terminal(=Windows Co...
分类:
其他好文 时间:
2014-06-26 10:17:56
阅读次数:
212