最近搞了一本书 Learning Bash 
Shell,发现有人已经写了阅读笔记,我就在这边整理一下来自blog:http://blog.sina.com.cn/n4mineLearningTheBashShell读书笔记(1)bash初识,通配符LearningTheBashShell读书笔记(2...
                            
                            
                                分类:
其他好文   时间:
2014-05-27 00:32:53   
                                阅读次数:
249
                             
                    
                        
                            
                            
                                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
                             
                    
                        
                            
                            
                                转自:windows下安装,配置gcc编译器1.首先介绍下MinGWMinGW是指只用自由软件来生成纯粹的Win32可执行文件的编译环境,它是Minimalist 
GNU on Windows的略称。 实际上 MinGW 并不是一个 单纯的C/C++ 编译器,而是一套 GNU 工具集合。除开 GC....
                            
                            
                         
                    
                        
                            
                            
                                ShellLinux Shell脚本教程:30分钟玩转Shell脚本编程Bash 
Shell字符串操作小结vivim使用vi、vim删除以及其他命令Vim静态模板文件打造自己的vim界面命令linux中grep命令的用法linux之sort用法gawkgawk手册Common 
threads: Aw...
                            
                            
                                分类:
系统相关   时间:
2014-05-26 20:38:26   
                                阅读次数:
332
                             
                    
                        
                            
                            
                                1. 说明:    
  在Shell下,我们可以拥有更加色惨斑斓的提示行信息,这可以通过改变bash的$PS1环境变量还设置,如下面就是提示行的一种:
      user@host$
   root用户的提示是这样的:
      user$host#
 
2.  提示行的转义字符:
 
Java代码  
 序列        ...
                            
                            
                                分类:
系统相关   时间:
2014-05-23 02:31:58   
                                阅读次数:
373
                             
                    
                        
                            
                            
                                闲来无事登陆服务器发下登陆提示有报错报错提示: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
                             
                    
                        
                            
                            
                                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
                             
                    
                        
                            
                            
                                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
                             
                    
                        
                            
                            
                                安装环境:Fedora16,用户名guge软件包:grads-2.0.1-bin-i686-pc-linux-gnu.tar.gz(grads主程序), 
data2.tar.gz(grads自带字体、地图包), example.tar.Z(样例测试包)(以上软件包从http://www.iges.....
                            
                            
                                分类:
系统相关   时间:
2014-05-21 18:11:08   
                                阅读次数:
412
                             
                    
                        
                            
                            
                                今天在登录系统的时候居然出现“unset:commandnotfound”这个东西,搞了好久,终于解决了。解决办法:检查/etc/profile和~/.bash_profile,原来在/etc/profile末尾多了一句“unsetMAILCHECK”,删除这句就行了
                            
                            
                                分类:
其他好文   时间:
2014-05-21 12:41:52   
                                阅读次数:
265