码迷,mamicode.com
首页 >  
搜索关键字:.bashrc    ( 1454个结果
Linux修改Shell命令提示符及颜色
Linux修改Shell命令提示符及颜色1. Linux登录过程中加载配置文件顺序:/etc/profile → /etc/profile.d/*.sh → ~/.bash_profile → ~/.bashrc → [/etc/bashrc]可查看默认的~/.bashrc文件如下:[root@~/...
分类:系统相关   时间:2015-09-11 23:33:00    阅读次数:343
在.bashrc文件中定义函数
在命令行上直接定义shell函数的明显缺点是当退出shell时,函数就消失了,对于复杂的函数来说,这可能会是个问题。 一个简单的方法就是每次启动新shell的时候都会自动加载所需要的函数。 最好的办法就是.bashrc文件。bash shell会在每次启动时在主目录查找这个文件,不管...
分类:其他好文   时间:2015-09-11 15:59:50    阅读次数:273
maven3 org.codehaus.plexus.classworlds.launcher.launcher 找不到或无法加载主类
maven3 org.codehaus.plexus.classworlds.launcher.launcher 找不到或无法加载主类嗯,网上很多资料说是路径的问题,确实是有可能是路径的问题,而且还是在/bashrc中的路径的问题。mac上如果带有相对路径,比如~,那可能就会出现这样的情况。所以当出...
分类:其他好文   时间:2015-09-09 17:36:46    阅读次数:167
qt使用
1.sudo gedit .bashrc添加以下内容:PATH=$PATH:/home/wang/Qt5.2.1/Tools/QtCreator/binPATH=$PATH:/home/wang/Qt5.2.1/Tools/QtCreator/lib/qtcreator2.拷贝cp /opt/ros...
分类:其他好文   时间:2015-09-08 22:03:15    阅读次数:141
shell变量
shell变量一、分类 配置文件,生效范围划分,存在两类:全局配置: /etc/profile,/etc/profile.d/*.sh /etc/bashrc 个人配置:~/.bash_profile~/.bashrc按功能划分,存在两类:profile类:为交互式登录的shell提供配置 /etc/profile,/etc/profile.d/*.sh ~/.bash_profile功用:..
分类:系统相关   时间:2015-09-08 07:19:00    阅读次数:171
Bash环境变量配置
配置文件,生效范围划分,存在两类:全局配置:/etc/profile,/etc/profile.d/*.sh/etc/bashrc个人配置:~/.bash_profile~/.bashrc按功能划分,存在两类:profile类:为交互式登录的shell提供配置/etc/profile,/etc/profile.d/*.sh~/.bash_profile功用:(1)定义环境变量,例如PA..
分类:其他好文   时间:2015-09-08 07:09:02    阅读次数:124
linux-bash环境变量
备注:博客总结借鉴于马哥课堂笔记时间:2015.09.07linux_bash环境变量bash解释bash可以是一个命令语言解释器bash环境配置:配置文件,从生效范围可分为两类全局配置:对所有所有用户bash都生效的/etc/profile,/etc/profile.d/*.sh/etc/bashrc个人配置:只对当前的特定用户的bash..
分类:系统相关   时间:2015-09-08 07:06:05    阅读次数:195
bash环境配置
bash环境配置:配置文件,生效范围划分,存在两类:全局配置:/etc/profile,/etc/profile.d/*.sh/etc/bashrc个人配置:~/.bash_profile~/.bashrc按功能划分,存在两类:profile类:为交互式登录的shell提供配置/etc/profile,/etc/profile.d/*.sh~/.bash_profile功用:(1)定义环..
分类:其他好文   时间:2015-09-08 07:04:31    阅读次数:146
bash环境变量、特殊权限及磁盘管理与文件系统
bash环境配置:配置文件,生效范围划分,存在两类:全局配置:/etc/profile,/etc/profile.d/*.sh,/etc/bashrc个人配置:~/.bash_profile,~/.bashrc按功能划分,存在两类:profile类:为交互式登录的shell提供配置/etc/profile,/etc/profile.d/*.sh~/.bash_profile功用:(1)定..
分类:其他好文   时间:2015-09-07 07:13:08    阅读次数:258
Bash环境配置和文件的特殊权限
bash环境配置配置文件,生效范围划分,存在两类:全局配置:/etc/profile,/etc/profile.d/*.sh/etc/bashrc个人配置:~/.bash_profile~/.bashrc按功能划分,存在两类:profile类:为交互式登录的shell提供配置/etc/profile,/etc/profile.d/*.sh~/.bash_profile功用:(1)定义环境..
分类:其他好文   时间:2015-09-07 07:12:05    阅读次数:242
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!