Creating a .bash_profile on your mac
2015-08-27 10:18
633 查看
A typical install of OS X won't create a .bash_profile for you. When you want to run functions from your command line, this is a must-have.
Start up Terminal
Type "cd ~/" to go to your home folder
Type "touch .bash_profile" to create your new file.
Edit .bash_profile with your favorite editor (or you can just type "open -e .bash_profile" to open it in TextEdit.
Type ". .bash_profile" to reload .bash_profile and update any functions you add.
Start up Terminal
Type "cd ~/" to go to your home folder
Type "touch .bash_profile" to create your new file.
Edit .bash_profile with your favorite editor (or you can just type "open -e .bash_profile" to open it in TextEdit.
Type ". .bash_profile" to reload .bash_profile and update any functions you add.
相关文章推荐
- shell条件测试
- shell
- shell脚本(严格的终端格式控制,美丽的输出字体颜色)
- Linux shell篇---之一--shell基础
- interactive/non-interactive, login/non-login shells
- linux shell 之if-------用if做判断
- linux shell 之if-------用if做判断
- [Shell]Bash变量:自定义变量 & 环境变量 & 位置参数变量 & 预定义变量
- shell中if条件字符串、数字比对,[[ ]]和[ ]区别
- 使用shell脚本检测lvs中realserver状态,并实现自动删除已挂机主机
- shell 脚本编程
- PowerShell管理Hyper-V(Windows2008R2)
- Office 365 IT Professional——如何用PowerShell创建Site Collection?
- SharePoint PowerShell命令系列 (12) New-SPWebApplication
- SharePoint PowerShell命令系列 (11) Remove-SPWeb
- SharePoint PowerShell命令系列 (10) Get-SPWeb & Set-SPWeb
- SharePoint PowerShell命令系列 (9) New-SPWeb
- SharePoint PowerShell命令系列 (8) Remove-SPSite
- SharePoint PowerShell命令系列 (7) Move-SPSite
- SharePoint PowerShell命令系列 (6) Get-SPSite & Set-SPSite