skip to main | skip to sidebar

yuweijun'blog

Saturday, December 27, 2008

clear history command when logout linux

$> vi .bash_logout
# ~/.bash_logout

history -c
clear

Reference:
http://rcsg-gsir.imsb-dsgi.nrc-cnrc.gc.ca/documents/advanced/node125.html

发表者 俞 伟军 位置在: 12/27/2008 03:23:00 PM

标签: Command , history , Linux , logout

No comments :

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments ( Atom )

About Me

My Photo
俞 伟军
View my complete profile

Blog Archive

  • ►  2011 ( 19 )
    • ►  December ( 1 )
    • ►  July ( 9 )
    • ►  May ( 1 )
    • ►  April ( 3 )
    • ►  January ( 5 )
  • ►  2010 ( 41 )
    • ►  December ( 3 )
    • ►  November ( 3 )
    • ►  October ( 6 )
    • ►  September ( 1 )
    • ►  August ( 2 )
    • ►  July ( 6 )
    • ►  June ( 3 )
    • ►  May ( 9 )
    • ►  April ( 1 )
    • ►  March ( 5 )
    • ►  February ( 1 )
    • ►  January ( 1 )
  • ►  2009 ( 55 )
    • ►  December ( 5 )
    • ►  November ( 2 )
    • ►  October ( 1 )
    • ►  September ( 2 )
    • ►  August ( 6 )
    • ►  July ( 9 )
    • ►  May ( 4 )
    • ►  April ( 5 )
    • ►  March ( 8 )
    • ►  February ( 6 )
    • ►  January ( 7 )
  • ▼  2008 ( 260 )
    • ▼  December ( 22 )
      • Ubuntu 8.10 virtualbox transparent bridge configure
      • clear history command when logout linux
      • linux auto logout setting
      • 添加deflate gzip模块到apache2服务器
      • 使用arping查询得到局域网里其他机器的mac地址
      • 在搜索引擎上查询网站的收录链接信息(SEO)
      • IE6/IE7上ajax请求的一个bug
      • ie中空白渲染的问题
      • install ruby-mysql gem in mac osx 10.5
      • 在ubuntu 8上安装字体
      • linux 用户登录时的欢迎词修改
      • php中self关键字说明
      • 在ubuntu 8.10 上安装passenger 2.0.6
      • 修改gnome-terminal的默认窗口大小
      • rails error ActionController::InvalidAuthenticityT...
      • mongrel and rails 2.2.2 环境下报 mysql lib 的错误及解决方法
      • svn:ignore command line
      • MySQL5.0 同步错误 errno 2013 及解决方法
      • usage of call_user_func_array function in php
      • Hack ruby String#length
      • 在Ruby中将unicode直接量转化成为utf8字符
      • find command examples related with file status
    • ►  November ( 13 )
    • ►  October ( 36 )
    • ►  September ( 4 )
    • ►  August ( 31 )
    • ►  July ( 34 )
    • ►  June ( 10 )
    • ►  May ( 9 )
    • ►  April ( 21 )
    • ►  March ( 22 )
    • ►  February ( 23 )
    • ►  January ( 35 )
  • ►  2007 ( 346 )
    • ►  December ( 16 )
    • ►  November ( 12 )
    • ►  October ( 17 )
    • ►  September ( 31 )
    • ►  August ( 50 )
    • ►  July ( 28 )
    • ►  June ( 24 )
    • ►  May ( 38 )
    • ►  April ( 53 )
    • ►  March ( 48 )
    • ►  February ( 29 )
  • ►  2006 ( 1 )
    • ►  November ( 1 )