bash的配置文件~.profile
来源:互联网 发布:清华网络学堂 编辑:程序博客网 时间:2024/06/09 01:58
# ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
# exists.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.
# the default umask is set in /etc/profile; for setting the umask
# for ssh logins, install and configure the libpam-umask package.
#umask 022
# if running bash
if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi
source /etc/bash.bashrc
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
# exists.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.
# the default umask is set in /etc/profile; for setting the umask
# for ssh logins, install and configure the libpam-umask package.
#umask 022
# if running bash
if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi
source /etc/bash.bashrc
阅读全文
0 0
- bash的配置文件~.profile
- bash中profile等配置文件执行顺序
- bash中profile等配置文件执行顺序
- bash配置文件的说明:
- bash的配置文件
- bash的环境配置文件
- Bash的环境配置文件
- bash 的环境配置文件
- bash的配置文件
- bash的配置文件定义
- /etc/profile配置文件的详解
- 详解/etc/profile、/etc/bash.bahsrc、~/.profile、~/.bashrc的用途
- 详解/etc/profile、/etc/bash.bahsrc、~/.profile、~/.bashrc的用途
- Linux 配置文件 启动文件rc.local、/etc/bash.bashrc、~/bashrc、/etc/profile、~/.profile加载顺序
- bash启动退出读取的profile文件
- bash的配置文件读取步骤
- Linux下的bash配置文件
- 几个bash配置文件的说明
- 使用Storyboards开发的10个小技巧
- spring定时任务配置
- 时间段显示
- Custom Container View Controller
- ubuntu16.04 编译安装kscope
- bash的配置文件~.profile
- Android跳转系统应用
- 黑幕背后的Autorelease
- Python笔记
- footer至于底部的四种方法
- NSValue对任何结构体,基本类型,指针的封装
- Scala入门到精通——第二十八节 Scala与JAVA互操作
- 访问控制符
- 微信检测工具 微信筛选技巧