码迷,mamicode.com
首页 >  
搜索关键字:bash 自动补全    ( 16383个结果
Learning The Bash Shell读书笔记(整理)
最近搞了一本书 Learning Bash Shell,发现有人已经写了阅读笔记,我就在这边整理一下来自blog:http://blog.sina.com.cn/n4mineLearningTheBashShell读书笔记(1)bash初识,通配符LearningTheBashShell读书笔记(2...
分类:其他好文   时间:2014-05-27 00:32:53    阅读次数:249
linux shell执行方式
linux shell执行有两种方式shell脚本以#!/bin/bash开头,执行shell时先检查首行,在内部以下列方式执行:$/bin/bash script.sh1. 使用sh执行。 $sh script.sh #脚本位于当前目录下或者 $sh /home/path/script.sh #使...
分类:系统相关   时间:2014-05-26 23:16:32    阅读次数:344
关于login/interactive/no-interactive shell和profile/bash_profile/bashrc
login shell:第一次登录进系统时的shell,一般是指本机启动时的控制台shell或者ssh远程登录时的shell。interactive shell:登录以后,再打开控制台时运行的shell。none interactive shell:只是用来执行脚本的shell,执行完就结束进程了,...
分类:其他好文   时间:2014-05-23 08:52:18    阅读次数:313
Linux环境变量PS1配置
1. 说明:       在Shell下,我们可以拥有更加色惨斑斓的提示行信息,这可以通过改变bash的$PS1环境变量还设置,如下面就是提示行的一种:       user@host$    root用户的提示是这样的:       user$host#   2.  提示行的转义字符:   Java代码    序列        ...
分类:系统相关   时间:2014-05-23 02:31:58    阅读次数:373
可以进行自动补全的python的eclipse配置方法
可以进行自动补全的python开发环境...
分类:编程语言   时间:2014-05-23 01:32:59    阅读次数:520
ulimit登陆服务器报错
闲来无事登陆服务器发下登陆提示有报错报错提示:Lastlogin:FriMay2301:37:042014from101.71.249.170-bash:ulimit:openfiles:cannotmodifylimit:Operationnotpermitted看提示是没有权限的意思查看登陆需要加载的文件/etc/profile有发现ulimit-n65535ulimit-u10240服务器是禁止r..
分类:其他好文   时间:2014-05-22 18:01:59    阅读次数:307
<LINUX >bash shell 入门 --linux学习笔记
首先说下我个人对于shell的理解,我觉得shell是一种通过各种控制语句将linux命令进行集合实现批处理的一种脚本语言.shell编程入门其实很简单,语法知识并不多,但是高级shell编程就很难,因为shell是用户和linux之间的桥梁,要编写高质量的shell脚本,就需要用户对linux有很...
分类:系统相关   时间:2014-05-21 19:30:46    阅读次数:328
获取终端下光标的位置
1 #!/bin/bash 2 #based on a script from http://invisible-island.net/xterm/xterm.faq.html 3 exec /dev/tty 8 # tput u7 > /dev/tty # when TERM=xt...
分类:其他好文   时间:2014-05-21 18:43:15    阅读次数:300
Bash String Manipulation Examples – Length, Substring, Find and Replace--reference
In bash shell, when you use a dollar sign followed by a variable name, shell expands the variable with its value. This feature of shell is called para...
分类:其他好文   时间:2014-05-21 18:32:32    阅读次数:332
unset : command not found问题解决
今天在登录系统的时候居然出现“unset:commandnotfound”这个东西,搞了好久,终于解决了。解决办法:检查/etc/profile和~/.bash_profile,原来在/etc/profile末尾多了一句“unsetMAILCHECK”,删除这句就行了
分类:其他好文   时间:2014-05-21 12:41:52    阅读次数:265
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!