LinuxBasics.org

The community that helps people to run Linux

rss

IRC BOTS

Online documentation often comes in places we don’t always think of looking under, in Linux. On the IRC server freenode, many distribution have their officiel channel. Many have configured a bot to answer frequently asked questions, and it is usually cutting edge information. #kanotix and #debian both have their bot. It is possible that other servers have channels with such bots too.

Usually, carefully reading the announcement at the top of the channel will give you information on how to consult the bot. Here are a few channels having bots:

/msg dpkg help
/msg dpkg listkeys
/msg dpkg listvals

(don’t hesitate to add any channel you know of with such useful bots)

For instance, in the case of the #debian channel, typing !drxx will result in the following answer from the bot1):

  <dpkg> somebody said drxx was dpkg-reconfigure xserver-xfree86 
  [or xserver-xorg if you're using X.org]     # Run it as root! 
  if you have edited the X config files by hand or used a tool such
  as xf86config also ask me about <xmd5>

Typing !xmd5 will get you:

<dpkg> If you hand-edit your X configuration file, 
"dpkg-reconfigure xserver-xfree86" will no longer work, which is bad. 
To see if this is the case, 
"md5sum /etc/X11/XF86Config-4 | diff -sq /var/lib/xfree86/XF86Config-4.md5sum -" 
- if the files differ, then it won't work. To fix this, 
"md5sum /etc/X11/XF86Config-4 > /var/lib/xfree86/XF86Config-4.md5sum" as root, 
then "dpkg-reconfigure xserver-xfree86", losing any manual changes you've made.

This is priceless information. Don’t hesitate to use those sources for up-to-date tips on your distro.

D. Raymond 2005/08/24 04:50

1) Both <dpkg> messages are verbatim quotes from the freenode #debian channel bot.

Copyright (c) by the authors.
Prior to editing, authors agreed to license their contributions by the terms of the GPL.
See our licensing page for details.


Linux® is a registered trademark of Linus Torvalds.


 
  irc/irc_bots.txt · Last modified: 2008/07/20 21:08

LinuxBasics.org

Start Linux-Course Tutorials Linux Links Security Blog Forum E-mail List Search Online Chat

Site-Info

Help Get in Touch Making of LBo

Wiki-Control

Powered by

Linux Apache DokuWiki Mailman RUTE ht://Dig