The alias cmd list your current aliases. For example : alias Use alias to shorten a long cmd in current shell session: alias [name=['command']] Use unalias to remove the alias , or use "\"(back-slash) before command to disable alias. Your ~/.bas
Since these files are hidden you will have to do an ls -a to list them. If you don't have one you can create one. Update: If I remember correctly, when I had bought my mac, .bash_login file wasn't there. I had to create it for myself so that I could
which whereis locate find alias file ls cat echotar bzip2 gzip history mv cp rm --------------------------------------------------------------------------------------------------------------------------------------------------linux下的查找命令which,whereis
1. cd ~ 2. touch .bashrc // 若该文件不存在的话 3. vim .bashrc ----------------复制粘贴如下文本--------------- # alias ls='ls -G' # alias ll='ls -il' # alias la='ls -a' # alias lla='ll -a' # alias mkdir='mkdir -p' # alias rmdir='rm -r' # [ source alias alias-source-ba
今天在帮一个兄弟检查一段自定义控件的代码时觉得他对xtype以及alias的使用和ExtJS各示例代码的使用有较多的不一致,而我自己也不是很清楚使用这两个属性时的最佳方法.因此在回家后整理出了这样一篇文档.一方面用来标准化我们自己的代码,另一方面也共享给大家,毕竟对这两个属性进行详细讨论的资料几乎没有. xtype 首先来看看xtype的定义.在ExtJS的官方文档中是这样对它进行定义的: This property provides a shorter alternative to creat