command|command alias and source
alias
make alias for commands.
alias
display all alias
alias lb='ll -h'
make the change permanent:
- append alias to ~/.bashrc
-
. ~/.bashrc
orsource ~/.bashrc
source
is a bash builtin command, which executes commands in the file.file1:
echo hello
source file1
display:
hello
. is a shortcut for source, which means
. file1
is same as source file1
.【command|command alias and source】Note that
./file1
will be executed in a new shell, while . file1
in the current shell.推荐阅读
- android第三方框架(五)ButterKnife
- Android中的AES加密-下
- Eddy小文
- 带有Hilt的Android上的依赖注入
- android|android studio中ndk的使用
- Android事件传递源码分析
- RxJava|RxJava 在Android项目中的使用(一)
- Android7.0|Android7.0 第三方应用无法访问私有库
- 深入理解|深入理解 Android 9.0 Crash 机制(二)
- EditText默认不获取焦点弹出键盘