<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0">
<channel>
  <title>Linux Format forums</title>
  <link>http://www.linuxformat.com/forums/index.php</link>
  <description>Help, discussion, magazine feedback and more</description>
  <language>english</language>
  <copyright>(c) Copyright Wed May 22, 2013 12:27 pm by Linux Format forums</copyright>
  <managingEditor>webmaster@linuxformat.com</managingEditor>
  <webMaster>webmaster@linuxformat.com</webMaster>
  <pubDate>Wed May 22, 2013 12:27 pm</pubDate>
  <lastBuildDate>Wed May 22, 2013 12:27 pm</lastBuildDate>
  <docs>http://backend.userland.com/rss</docs>
  <generator>phpBB2 RSS Syndication Mod by Lucas</generator>
  <ttl>1</ttl>

  <image>
    <title>Linux Format forums</title>
    <url></url>
    <link>http://www.linuxformat.com/forums/</link>
    <description>Help, discussion, magazine feedback and more</description>
  </image>

                                      <item>
                                        <title>Linux Format Newsletter -- #39, August 2008</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=63243#63243</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=252'&gt;M-Saunders&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Sun Aug 31, 2008 4:19 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      ---------------------------------------------------------- &lt;br /&gt;
&lt;br /&gt;
   LINUX FORMAT WEBSITE NEWSLETTER -- #39, AUGUST 2008&lt;br /&gt;
&lt;br /&gt;
                 &lt;a href=&quot;http://www.linuxformat.co.uk&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;www.linuxformat.co.uk&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------- &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
CONTENTS&lt;br /&gt;
&lt;br /&gt;
  1. Welcome!&lt;br /&gt;
&lt;br /&gt;
  2. LXF 109 on sale&lt;br /&gt;
&lt;br /&gt;
  3. In the news...&lt;br /&gt;
&lt;br /&gt;
  4. This month on the forum&lt;br /&gt;
&lt;br /&gt;
  5. Tutorial: Do more at the command line&lt;br /&gt;
&lt;br /&gt;
  6. Coming up next issue&lt;br /&gt;
&lt;br /&gt;
  7. Receiving this Newsletter&lt;br /&gt;
&lt;br /&gt;
  8. Contact details&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------&lt;br /&gt;
                       1. Welcome!&lt;br /&gt;
---------------------------------------------------------- &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Hello, bonjour and willkommen to the August Linux Format Newsletter. &lt;br /&gt;
It's been an interesting last few weeks, what with Microsoft's cash &lt;br /&gt;
injection for the Apache project, the release of KDE 4.1, and new &lt;br /&gt;
developments on the Linux-powered mini hardware front. See the &lt;br /&gt;
website for more info -- oh, and don't forget to check out our LXF &lt;br /&gt;
guide to making your own version of Fedora!&lt;br /&gt;
&lt;br /&gt;
Anyway, I hope you enjoy this month's Newsletter. As per usual we &lt;br /&gt;
have a glimpse at the latest issue of the magazine, plus roundups of &lt;br /&gt;
the most interesting news stories and forum posts. Scroll down to &lt;br /&gt;
section 5 for a bunch of handy command line tips!&lt;br /&gt;
&lt;br /&gt;
Mike Saunders&lt;br /&gt;
Newsletter Editor&lt;br /&gt;
&lt;a href=&quot;mailto:Mike.Saunders@futurenet.com&quot;&gt;Mike.Saunders@futurenet.com&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------&lt;br /&gt;
                  2. LXF 109 on sale...&lt;br /&gt;
----------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Yes, issue 109 has burst from its cage and is in the caring hands of &lt;br /&gt;
subscribers. If you haven't yet got a copy, head over to your &lt;br /&gt;
newsagent and grab one, otherwise you'll miss out on all the &lt;br /&gt;
delights contained within its glossy covers. This month we've taken &lt;br /&gt;
a long, deep look at the new OpenSUSE 11.0 release: is it ready to &lt;br /&gt;
take the #1 distro slot again? We've included the Live version of &lt;br /&gt;
11.0 on the magazine DVD - so you can try it without installing - &lt;br /&gt;
along with Linux Mint 5.0 Light, a rapidly rising star in the distro &lt;br /&gt;
galaxy, and 64 Studio 2.1.&lt;br /&gt;
&lt;br /&gt;
Also in the mag: our exclusive full report from the Libre Graphics &lt;br /&gt;
2008 show, a look at the spangly new backup system TimeVault, plus &lt;br /&gt;
tutorials on switching your Eee PC's distro and writing an amazingly &lt;br /&gt;
cool Qt-based speech synthesiser. Oh, and the ever resourceful &lt;br /&gt;
Graham Morrison has a valuable guide to fixing common Linux errors &lt;br /&gt;
and problems - here's an example of an oft-seen error message, and &lt;br /&gt;
how you can deal with it...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
  ERROR: Out of range&lt;br /&gt;
  ERROR: Fatal server error: no screens found&lt;br /&gt;
&lt;br /&gt;
  This occurs when the preconfigured screen mode is incompatible &lt;br /&gt;
  with your monitor. Press Ctrl+Alt+F1 to switch to a console view, &lt;br /&gt;
  and log in as root (or use sudo from your normal user account in &lt;br /&gt;
  Ubuntu). Users of Debian-based distros can type:&lt;br /&gt;
&lt;br /&gt;
    dpkg-reconfigure xserver-xorg&lt;br /&gt;
&lt;br /&gt;
  to reconfigure the screen. Other users will have to fix their &lt;br /&gt;
  settings manually as follows. First type 'cd /etc/X11' followed by &lt;br /&gt;
  'cp xorg.conf xorg.lxf' to make a backup of your configuration &lt;br /&gt;
  file. Now open this file with whichever command line editor you're &lt;br /&gt;
  most comfortable with. Type 'nano xorg.conf' if you're not sure.&lt;br /&gt;
&lt;br /&gt;
  If you know your screen's specification, scroll down the &lt;br /&gt;
  configuration file and look for 'Section Monitor'. You then need &lt;br /&gt;
  to hand-edit the horizontal and vertical refresh rates. If you &lt;br /&gt;
  don't know your screen's resolution, scroll even further down &lt;br /&gt;
  until you find the 'Screen' section.&lt;br /&gt;
&lt;br /&gt;
  You need to delete all the high screen resolutions here, as we're &lt;br /&gt;
  looking for the lowest common denominator (we'd suggest removing &lt;br /&gt;
  any resolution larger than 1024x768). You'll be able to increase &lt;br /&gt;
  the resolution from your desktop when you get your screen working. &lt;br /&gt;
  If neither of these methods work, the last failsafe option is to &lt;br /&gt;
  change the 'Device' driver to 'vesa', sidestepping your graphics &lt;br /&gt;
  drivers entirely.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
See the LXF website and click on the right-hand issue pic for a full &lt;br /&gt;
lowdown on 109's contents.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------&lt;br /&gt;
                     3. In the news...&lt;br /&gt;
----------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Netbook news, and analysis from Free Software gurus...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Mandriva joins the netbook party&lt;br /&gt;
  &lt;a href=&quot;http://www.linuxformat.co.uk/modules.php?op=modload&amp;amp;name=News&amp;amp;file=article&amp;amp;sid=716&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://www.linuxformat.co.uk/modules.php?op=modload&amp;amp;name=News&amp;amp;file=article&amp;amp;sid=716&lt;/a&gt; &lt;br /&gt;
&lt;br /&gt;
Yes, there's another contender in the netbook (subnotebook in &lt;br /&gt;
oldspeak) market. The Gdium has a 10&quot; screen, 900MHz CPU and 512MB &lt;br /&gt;
of RAM, plus the not-really-explained 'Gayaplex'. It'll run Mandriva &lt;br /&gt;
Linux via a USB flash drive known as a G-Key, which means you can &lt;br /&gt;
move between different Gdiums while keeping your OS settings and &lt;br /&gt;
data.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Perens analyses Microsoft's Apache support&lt;br /&gt;
  &lt;a href=&quot;http://www.linuxformat.co.uk/modules.php?op=modload&amp;amp;name=News&amp;amp;file=article&amp;amp;sid=720&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://www.linuxformat.co.uk/modules.php?op=modload&amp;amp;name=News&amp;amp;file=article&amp;amp;sid=720&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Amiable Free Software spokesman Bruce Perens has penned an essay &lt;br /&gt;
looking at Microsoft's recent support of the Apache web server &lt;br /&gt;
project. Microsoft has joined the Apache project as a platinum &lt;br /&gt;
sponsor, committing $100,000 a year to the software that competes &lt;br /&gt;
against its own IIS product.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Torvalds talks project management&lt;br /&gt;
  &lt;a href=&quot;http://www.linuxformat.co.uk/modules.php?op=modload&amp;amp;name=News&amp;amp;file=article&amp;amp;sid=724&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://www.linuxformat.co.uk/modules.php?op=modload&amp;amp;name=News&amp;amp;file=article&amp;amp;sid=724&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
How to you get the best work from a bunch of highly talented, but &lt;br /&gt;
prickly and bickering-prone kernel hackers? In this CIO.com piece, &lt;br /&gt;
Linus Torvalds lists his five central tenets of kernel project &lt;br /&gt;
management, with his characteristic frankness. &quot;I'd rather flame &lt;br /&gt;
people for doing stupid things and call them stupid, rather than try &lt;br /&gt;
to be too polite to the point where people didn't understand how &lt;br /&gt;
strongly I felt about something.&quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------&lt;br /&gt;
               4. This month on the forum &lt;br /&gt;
----------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
What does Linux know about your hardware? Dutch Master created a &lt;br /&gt;
script that collects together various useful snippets of information &lt;br /&gt;
about your machine, such as the kernel version and list of installed &lt;br /&gt;
hardware devices. If you have a question to ask on the forum, it's &lt;br /&gt;
worth running the script and pasting the results so that potential &lt;br /&gt;
helpers have a good overview of your setup. [1]&lt;br /&gt;
&lt;br /&gt;
In one of the strangest threads we've ever seen on the LXF website, &lt;br /&gt;
Keeef posted a link to a website containing allegations that the &lt;br /&gt;
megaportal Yahoo! is largely run by the Mafia. This link was &lt;br /&gt;
promptly deleted by the eagle-eyed LXF forum moderators, but Keeef &lt;br /&gt;
returned and reposted the link (which had also appeared on many &lt;br /&gt;
other forums around the internet). If you want to read a hugely &lt;br /&gt;
complicated (and seemingly very paranoid) tale of mobsters, sex &lt;br /&gt;
slaves and websites, see the thread... [2]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[1] &lt;a href=&quot;http://www.linuxformat.co.uk/index.php?name=PNphpBB2&amp;amp;file=viewtopic&amp;amp;t=8332&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://www.linuxformat.co.uk/index.php?name=PNphpBB2&amp;amp;file=viewtopic&amp;amp;t=8332&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
[2] &lt;a href=&quot;http://www.linuxformat.co.uk/index.php?name=PNphpBB2&amp;amp;file=viewtopic&amp;amp;t=8319&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://www.linuxformat.co.uk/index.php?name=PNphpBB2&amp;amp;file=viewtopic&amp;amp;t=8319&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------&lt;br /&gt;
               5. Special Newsletter feature&lt;br /&gt;
----------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
COMMAND LINE TRICKS&lt;br /&gt;
&lt;br /&gt;
If you're a regular command line user, you'll already know about &lt;br /&gt;
command history, tab-completion, and other common-or-garden &lt;br /&gt;
shortcuts. But there's quite a bit more to Bash - here are a few &lt;br /&gt;
useful things you can do at the shell prompt.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1. Edit the previous command&lt;br /&gt;
&lt;br /&gt;
Imagine you've just entered a very long, very complicated command. &lt;br /&gt;
It didn't quite work as expected, so you need to retrieve it and &lt;br /&gt;
edit it. Editing at the Bash prompt can be very fiddly, so enter &lt;br /&gt;
'fc' to open up a text editor in which you can modify your command. &lt;br /&gt;
Note that the choice of editor will be whatever's specified in your &lt;br /&gt;
$EDITOR environment variable.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. Use loops&lt;br /&gt;
&lt;br /&gt;
As a fully fledged scripting language, Bash supports various &lt;br /&gt;
programming constructs such as loops. For instance, this command &lt;br /&gt;
performs 'ls' on every file in the current directory:&lt;br /&gt;
&lt;br /&gt;
  for i in *; do ls $i; done&lt;br /&gt;
&lt;br /&gt;
That's pretty easy to understand - it's not a very useful command, &lt;br /&gt;
though. But once you know how to set up a loop, you can do a lot &lt;br /&gt;
more. Here's a command that makes a backup (.bak extension) of every &lt;br /&gt;
.jpg file in the current directory:&lt;br /&gt;
&lt;br /&gt;
  for i in *.jpg; do cp $i $i.bak; done&lt;br /&gt;
&lt;br /&gt;
Loops are great for performing batch operations, and can save you &lt;br /&gt;
heaps of time. Create a temporary directory, fill it with empty &lt;br /&gt;
files (eg 'touch a b c d e') and experiment!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Sort and remove duplicates&lt;br /&gt;
&lt;br /&gt;
Say you've got a text file containing a list of something - be it IP &lt;br /&gt;
addresses from a log, or files in a directory. If there's a lot of &lt;br /&gt;
repeated material, it can be hard to find what you're looking for. &lt;br /&gt;
But two Unix utilities come to the rescue: sort and uniq. Look at &lt;br /&gt;
this:&lt;br /&gt;
&lt;br /&gt;
  cat myfile.txt | sort | uniq &amp;gt; newfile.txt&lt;br /&gt;
&lt;br /&gt;
Now, it's important that we run sort before piping the output to &lt;br /&gt;
uniq, because uniq only removes duplicate adjacent lines. By sorting &lt;br /&gt;
the file beforehand, all instances of repetition are lumped &lt;br /&gt;
together, and therefore uniq removes everything but the first line &lt;br /&gt;
in a series of repetitive lines.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4. Conditional expressions&lt;br /&gt;
&lt;br /&gt;
Want to check that a file exists before performing a command? Easy:&lt;br /&gt;
&lt;br /&gt;
  if [ -e filename ]; then echo &quot;Yay&quot;; else echo &quot;Nay&quot;; fi&lt;br /&gt;
&lt;br /&gt;
Note that 'fi' has to come at the end, as it terminates the 'if' bit &lt;br /&gt;
at the beginning. This construct is very useful when you're writing &lt;br /&gt;
scripts.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------&lt;br /&gt;
                  6. Coming up next issue &lt;br /&gt;
----------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Linux Format 110, on sale Thursday 21 August...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
  # The best of Free Software -- We pick 25 killer apps that&lt;br /&gt;
    your Linux box should never be without!&lt;br /&gt;
&lt;br /&gt;
  # Skills to pay the bills -- Do Linux training courses really&lt;br /&gt;
    extend your geekocity and land you a better job?&lt;br /&gt;
&lt;br /&gt;
  # Latex -- Forget OpenOffice.org and AbiWord. REAL geeks use&lt;br /&gt;
    this insanely powerful typesetting language&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(Exact contents of future issues are subject to change. If we knew &lt;br /&gt;
everything for certain, we'd have won the lottery 2,521 times over &lt;br /&gt;
by now.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------&lt;br /&gt;
              7. Receiving this Newsletter&lt;br /&gt;
----------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you've been forwarded this Newsletter from someone else, and want&lt;br /&gt;
to sign up for future issues, just follow the steps below. Each&lt;br /&gt;
month you'll receive a sparkling new LXF Newsletter straight in your&lt;br /&gt;
Inbox, and the 30-second sign-up process is even easier than folding&lt;br /&gt;
a piece of paper:&lt;br /&gt;
&lt;br /&gt;
   1. Go to the website forums and log in (or sign up first):&lt;br /&gt;
   &lt;a href=&quot;http://www.linuxformat.co.uk/forums/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://www.linuxformat.co.uk/forums/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
   2. At the top of the main forum page, click on 'Usergroups'&lt;br /&gt;
&lt;br /&gt;
   3. Join the 'Newsletter' group, and you're done!&lt;br /&gt;
&lt;br /&gt;
If for some reason you no longer wish to receive this newsletter&lt;br /&gt;
(which'll make the internet angry) you can opt-out by removing&lt;br /&gt;
yourself from the Newsletter group as above.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------&lt;br /&gt;
                   8. Contact details&lt;br /&gt;
----------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you have any questions or suggestions, please send them to the&lt;br /&gt;
Newsletter Editor at the address below:&lt;br /&gt;
&lt;br /&gt;
  Newsletter Editor: Mike Saunders -- &lt;a href=&quot;mailto:Mike.Saunders@futurenet.com&quot;&gt;Mike.Saunders@futurenet.com&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
  Letters for the magazine: &lt;a href=&quot;mailto:lxf.letters@futurenet.com&quot;&gt;lxf.letters@futurenet.com&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
  LXF website: &lt;a href=&quot;http://www.linuxformat.co.uk&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://www.linuxformat.co.uk&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
  Subscriptions: 0870 837 4722 (overseas +44 1858 438794)&lt;br /&gt;
  Website subscription page: &lt;a href=&quot;http://www.linuxformat.co.uk/subscribe/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://www.linuxformat.co.uk/subscribe/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------- &lt;br /&gt;
           (C) 2008 Future Publishing Limited</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=63243#63243</comments>
                                        <author>M-Saunders</author>
                                        <pubDate>Sun Aug 31, 2008 4:19 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=63243#63243</guid>
                                      </item></channel></rss>