今天重装 Ubuntu 12.04 后安装 mysql server 5.5 时诡异发现下面的问题:
$ whereis mysql
mysql: /usr/bin/mysql /etc/mysql /usr/lib/mysql /usr/bin/X11/mysql /usr/share/mysql /usr/share/man/man1/mysql.1.g
$ which mysql
mysql: aliased to nocorrect mysql
$ whereis mysql
mysql: /usr/bin/mysql /etc/mysql /usr/lib/mysql /usr/bin/X11/mysql /usr/share/mysql /usr/share/man/man1/mysql.1.g
$ which mysql
/usr/bin/mysql
--------------------
分别使用 zsh 和 bash 运行结果不一样,然后 google 发现原来是因为我使用了 oh-my-zsh,而 oh-my-zhs 中有如下一段 alias
alias mysql='nocorrect mysql'
--------------------
对于 aliased 的 command 可以使用这个命令:
$type -a mysql
--------------------
或许正如别人讨论的,type 才是更加符合 POSIX 的命令
分享到:
相关推荐
The A-buffer (anti-aliased, area-averaged, accumulation buffer) is a general hidden surface mechanism suited to medium scale virtual memory computers. It resolves visibility among an arbitrary ...
If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and ...
在Matlab中,使用`fftshift`函数来调整频率信号的排列顺序,以避免频谱的 aliased 频率信号对结果的影响。为什么需要使用`fftshift`函数,而不是直接使用`fft`函数呢?这是因为`fft`函数存在一些固有的问题。 首先...
act_as_aliased 使用为资源创建别名的机制扩展ActiveRecord::Base 。 这是 ALPHA 软件,应小心使用。 安装 gem 'acts_as_aliased' 更新包后,运行 rails generate acts_as_aliased:install rake db:migrate 这将...
Quartz 2D is an advanced, two-dimensional drawing engine available for iOS application development and to all Mac OS X application environments outside of the kernel. Quartz 2D provides low-level, ...
"Jump to Aliased Directory" 是一个开源项目,旨在提高用户在命令行环境下切换目录的效率。这个系统允许用户创建和管理一系列自定义的别名,这些别名对应于不同的目录路径,使得用户能够通过简单的命令快速跳转到...
Fast realtime anti-aliased vector graphics, resolution independent, alpha blending, gradient and special visual filling WYSIWYG design-time and run-time designer and property editors Advanced GUI ...
babel-plugin-codemod-aliased-imports
* Fast realtime anti-aliased vector graphics, resolution independent, alpha blending, gradient and special visual filling * WYSIWYG design-time and run-time designer and property editors * Advanced...
名称 ...use aliased ' Dash::Core::Components ' => ' dcc ' ; use aliased ' Dash::Dependencies ' => ' deps ' ; my $external_stylesheets = [ ' https://codepen.io/chriddyp/pen/bWLwgP.css ' ];
The renderer in MuPDF is tailored for high quality anti-aliased graphics. It renders text with metrics and spacing accurate to within fractions of a pixel for the highest fidelity in reproducing the ...
别名模板 这是一个(自我)激励的例子,开始“回报它”并尝试写关于 C++ GameDev 的——更重要的是,写出足够有用且希望足够详细的博文,以便它们能在搜索引擎中留下来,实际上帮助某人摆脱困境。...
A fast,flexible,powerful ImageView that supports rounded corners,circles,polygon.Used by shader which is fastest model of draw. This is based on RoundedImageView from Vince Mi, but more ...
INTERPFT 函数通过采用 FFT、用零填充其末端,然后采用 IFFT 来执行 sinc 插值。 本质上,INTERPFT 在低通滤波后重新采样信号。 不是将所有零填充都放在 FFT *ends* 处,而是可以拆分该填充,以便一些在 FFT 的开头...
Gdkxft透明地向gtk + -1.2添加了抗锯齿字体支持。 安装完成后,您可以运行任何(几乎所有)现有的gtk +二进制文件,并在gtk小部件中查看抗锯齿的字体。 您不需要重新编译gtk +或您的应用程序。
Foreword By Andrew Glassner xvii Preface xix Mathematical Notation xxi Pseudo-Code xxiii Contributors xxix I I I I I 2 2 2 2 2D GEOMETRY AND ...9. Fast Anti-Aliased Circle Generation 446 Xiaolin Wu
Table of Contents DataTable DataTables is a plug-...Note that the DataTable object is not a global variable but is aliased to jQuery.fn.DataTable and jQuery.fn.dataTable through which it may be accessed.
计算与给定线段的距离(在 2d 中)或绘制抗锯齿线 ... 在适当的情况下,获取到线或两个端点之一的正交距离。 可用于制作抗锯齿线段绘图/遮罩(请参阅 lineMask.m) 也可用于通过取到每个线段的距离的最小值来计算到...
要查看是否正在发生这种情况,请使用which来确定外壳程序在哪里找到imgcat: which imgcat如果显示imgcat: aliased to /Users/yourusername/.iterm2/imgcat ,则必须编辑shell启动文件,并在unalias imgcat脚本的行...
# rm is aliased to `rm -i` \\rm *.log ``` - 用于指示命令跨越多行。 ```bash # Example of command spanning multiple lines command \\ arg1 \\ arg2 ``` ##### 11. | 管道(Pipeline) **用途**:...