Linux修改类似.bash_profile等配置文件,不重启系统让配置立即生效的做法:A..bash_profileBsource.bash_profileCexecbash--login
分类:
系统相关 时间:
2014-09-10 19:39:21
阅读次数:
203
为什么Linux登录后显示“-bash-3.2#”环境变量的问题,用户登陆后确实是root权限,字符显示的问题可以用这两条命令解决:-bash-3.2#cp/etc/skel/.{bash_profile,bashrc}~-bash-3.2#source~/.bashrc
分类:
系统相关 时间:
2014-09-10 12:45:11
阅读次数:
232
[oracle@sta ~]$ vi .bash_profile# .bash_profile# Get the aliases and functionsif [ -f ~/.bashrc ]; then. ~/.bashrcfi# User specific environment and st...
分类:
其他好文 时间:
2014-09-09 15:46:28
阅读次数:
186
首先下载androidsdk。切换到用户home目录cd~/创建配置文件touch.bash_profile打开配置文件open.bash_profile添加内容:exportPATH=$PATH:/Users/zhangminjie/Documents/sdk/platform-tools:/Us...
分类:
移动开发 时间:
2014-09-06 21:16:13
阅读次数:
331
原文地址:http://blog.csdn.net/chenchong08/article/details/7833242/etc/profile:此文件为系统的每个用户设置环境信息,当用户第一次登录时,该文件被执行.并从/etc/profile.d目录的配置文件中搜集shell的设置.英文描述为:...
分类:
系统相关 时间:
2014-09-06 12:19:23
阅读次数:
187
常用命令临时环境变量添加:alias mysql=/usr/local/mysql/bin/mysql永久环境变量添加:~/.bash_profile快捷键shift + command + 3 截取全屏幕至桌面shift + command + 4 截取部分屏幕至桌面
分类:
其他好文 时间:
2014-09-05 23:42:52
阅读次数:
157
1、配置环境变量
进入终端,输入
sudo gedit ~/.bashrc
在文件的最后追加:
#set path for android sdk tools
export PATH=$PATH:/your_android-sdk-linux_path/tools/
export PATH=$PATH:/your_android-sdk-linux_path/platform-tool...
分类:
移动开发 时间:
2014-09-05 16:19:01
阅读次数:
192
/etc/profile:此文件为系统的每个用户设置环境信息,当用户第一次登录时,该文件被执行.并从/etc/profile.d目录的配置文件中搜集shell的设置./etc/bashrc:为每一个运行bash shell的用户执行此文件.当bash shell被打开时,该文件被读取.~/.bash...
分类:
系统相关 时间:
2014-09-04 22:08:10
阅读次数:
295
~/.bash_profile export ORACLE_HOME=/opt/oracle/instantclient_11_2/
export DYLD_LIBRARY_PATH=$ORACLE_HOME
export SQLPATH=$ORACLE_HOME
export TNS_ADMIN=$ORACLE_HOME/network/admin
export LANG=en_US.U...
分类:
数据库 时间:
2014-09-02 23:01:06
阅读次数:
438
export CATALINA_HOME=/Applications/MyApplications/apache-tomcat-7.0.54
export PATH=$PATH:$CATALINA_HOME/bin
export M2_HOME=/Applications/MyApplications/apache-maven-3.2.2
export MAVEN_OPTS="-Xms2...
分类:
其他好文 时间:
2014-09-02 22:54:25
阅读次数:
208