My paranoid mind

All that we are is the result of what we have thought. The mind is everything. - Buddha

пятница, 1 апреля 2011 г.

Bash: exit from shell without saving history

Just run:

kill -9 $$

Another variant:
unset SAVEFILE; unset HISTFILE;
Автор: 185iq на 19:53
Ярлыки: bash, bash_history, shell

Комментариев нет:

Отправить комментарий

Следующее Предыдущее Главная страница
Подписаться на: Комментарии к сообщению (Atom)

Blog Archive

  • ▼  2011 (6)
    • ▼  апреля (4)
      • TeX: Centering images
      • Linux: fast cli password generator
      • Bash: exit from shell without saving history
      • Kernel: boot time parameters
    • ►  марта (2)
  • ►  2010 (6)
    • ►  октября (1)
    • ►  сентября (1)
    • ►  мая (2)
    • ►  апреля (1)
    • ►  марта (1)
  • ►  2009 (6)
    • ►  июля (1)
    • ►  июня (1)
    • ►  мая (4)
  • ►  2008 (1)
    • ►  января (1)

Labels

cli (4) mplayer (3) postfix (2) urxvt (2) Latex (1) Tex (1) bash (1) bash_history (1) boot (1) cat (1) centering (1) config (1) crond (1) crontab (1) date (1) dd (1) gem (1) generate (1) image (1) kernel (1) keys (1) ldap (1) logs (1) moc (1) mocp (1) mysql (1) password (1) repeat (1) rsyslog (1) ruby (1) shell (1) slackware (1) svn (1) tar (1) trick (1) urandom (1) wine (1) xdefaults (1)
Sohje since ∞. Тема "Корпорация "Чудеса"". Технологии Blogger.