Re: A quick Q: how do I link LS or Ls to ls

2011-09-17 Thread Martin Steigerwald
Am Samstag, 17. September 2011 schrieb lina: > Hi, Hi Lina, > I wonder is it possible to make the terminal recognize > > LS or Ls > > as > > ls > > only in command line in terminal. Or use Z-Shell: martin@merkaba:~> lS zsh: correct 'lS' to 'ls' [nyae]? n zsh: command not found: lS martin@me

RE: automated editing of text files

2011-09-17 Thread Bonno Bloksma
Hi Tom (and others) >> Ok, I've got most of it. The last part is more of a bash problem I think as >> most of the files have spaces in them. Not my idea, it's how the files were >> delivered to me. :-( >> >> So the command line: >>  for i in `ls *.txt` ; do ./add-pre-nl.sh $i; done >> does not cut

Re: Wiping hard drives - Re: debian-user-digest Digest V2011 #1704

2011-09-17 Thread Ralf Mardorf
> > Forwarded Message > > From: Mark > > To: Debian List > > Subject: Re: Wiping hard drives > > Date: Fri, 16 Sep 2011 22:15:38 -0700 > > > > On Tue, Sep 13, 2011 at 12:59 PM, Aaron Toponce > > wrote: > > > > DBan is overkill, by leaps and bounds. Not only d

Re: Wiping hard drives - Re: debian-user-digest Digest V2011 #1704

2011-09-17 Thread Ralf Mardorf
On Sat, 2011-09-17 at 08:59 +0200, Ralf Mardorf wrote: > > > Forwarded Message > > > From: Mark > > > To: Debian List > > > Subject: Re: Wiping hard drives > > > Date: Fri, 16 Sep 2011 22:15:38 -0700 > > > > > > On Tue, Sep 13, 2011 at 12:59 PM, Aaron Toponce > > > wrote: > >

Re: Flash hardware acceleration see-through bug

2011-09-17 Thread Camaleón
On Fri, 16 Sep 2011 22:35:27 +0200, Jonathan Hanger wrote: > Flash hardware acceleration is causing a see-through bug on my PC; that > means, if I'm watching a video on any streaming media that uses Flash, > I'll see the video everywhere (password prompt screen, in other > navigator tabs, through

Re: Moving to Debian server. (Re)Visiting the Postfix or Exim decision. Asking for Debian-ites' opinions.

2011-09-17 Thread Camaleón
On Fri, 16 Sep 2011 15:00:22 -0700, patk.1034 wrote: (...) > Since 'here' is where Debian-ites 'live', I'd like to ask for > experienced opinioins. Specifically in a Debian-server world, why one > over the other? (...) I can tell you what I use and that's Postfix. To be sincere, I'm sticked t

Re: Small local caching proxy

2011-09-17 Thread Camaleón
On Sat, 17 Sep 2011 01:17:18 +0600, Gary Golden wrote: > I'm looking for a small caching proxy which I would run for my own use > on localhost. > I don't require ACL or other multiuser features, I just want to save > some bandwidth. > > I installed squid, but it's there is too much manuals to rea

Re: Moving to Debian server. (Re)Visiting the Postfix or Exim decision. Asking for Debian-ites' opinions.

2011-09-17 Thread Miles Fidelman
Camaleón wrote: On Fri, 16 Sep 2011 15:00:22 -0700, patk.1034 wrote: (...) Since 'here' is where Debian-ites 'live', I'd like to ask for experienced opinioins. Specifically in a Debian-server world, why one over the other? One thing to consider is what ELSE you're going to be running on you

Re: Moving to Debian server. (Re)Visiting the Postfix or Exim decision. Asking for Debian-ites' opinions.

2011-09-17 Thread D G Teed
On Fri, Sep 16, 2011 at 7:00 PM, wrote: > Hi, > > We're evaluating our company's future server platform, and are pretty > much decided on Debian. At some companies, this would be regarded a miracle to achieve. I'm glad it worked out for you. > I notice that Debian has settled on Exim as the def

X and no Keyboard (debian Squeeze)

2011-09-17 Thread Julien Claassen
Hello everyone1 First: I'm new here, but a longterm Linux user. No experience however with any GUI, I'm blind. So I installed X and Gnome to test Orca - screenreader again. When I start X no more keyboard action. The system continues running flawlessly, had a music player running. Had a loo

Re: Moving to Debian server. (Re)Visiting the Postfix or Exim decision. Asking for Debian-ites' opinions.

2011-09-17 Thread David Sastre
Depending on your needs, you might find worth knowing that, as noted in /usr/share/doc/exim4-base/README.Debian.gz included in exim4-base 4.72-6+squeeze2: 4.5. SELinux There is no SELinux policy for Exim4 available so far. Until this is resolved, users should use postfix or sendmail if th

Re: Moving to Debian server. (Re)Visiting the Postfix or Exim decision. Asking for Debian-ites' opinions.

2011-09-17 Thread Chris Davies
patk.1...@sent.as wrote: > Those needs happen to include making an informed business decision > that takes into account others experience & opinions, the state of > community/project, etc. > Which is why I'm asking my question -- and looking forward to relevant > answers. At the risk of stating t

Re: X and no Keyboard (debian Squeeze)

2011-09-17 Thread Camaleón
On Sat, 17 Sep 2011 14:24:15 +0200, Julien Claassen wrote: > Hello everyone1 >First: I'm new here, but a longterm Linux user. No experience however >with > any GUI, I'm blind. Hi and welcome :-) >So I installed X and Gnome to test Orca - screenreader again. When I >start X > no m

Re: X and no Keyboard (debian Squeeze)

2011-09-17 Thread Julien Claassen
Hi Camaleon! When I say, tha I have no keyboard, I meant no keyboard for the whole system. I have to press the power button. Orca doesn't start. The first time you have to put something in a config-file or just start Orca with alt+F2 for exec command and then use Orca's menus or whatever to m

Re: X and no Keyboard (debian Squeeze)

2011-09-17 Thread Camaleón
On Sat, 17 Sep 2011 16:13:44 +0200, Julien Claassen wrote: >When I say, tha I have no keyboard, I meant no keyboard for the whole > system. I have to press the power button. You mean the system is not responding or just that keyboard is missing and you have to power it off? > Orca doesn't

Re: Moving to Debian server. (Re)Visiting the Postfix or Exim decision. Asking for Debian-ites' opinions.

2011-09-17 Thread Andrew McGlashan
Hi, Bob Proulx wrote: Just because installing Debian's "standard"[1] system task installs Exim doesn't mean that a lot of Debian users don't install Postfix. http://qa.debian.org/popcon.php?package=postfix I'm surprised with the level of Exim4 installs, given the number of guides on Postfi

mdadm and fsck

2011-09-17 Thread Joey L
I have a broken raid1 drive set - i was able to fix 1 but the other raid still has issues. i have gone through the tutorials online to bring it back online but still unable to bring it back. Do i have to run fsck on the individual member drives ??? my /proc/mdstat looks like: Personalities : [rai

Re: X and no Keyboard (debian Squeeze)

2011-09-17 Thread Julien Claassen
Hello Camaleon! I mean, the moment X starts, the keyboard doesn't respond at all. the keyboard as such is nicely connected and everything. Here's the output from the filtered package list: # dpkg -l | grep xserver-xorg-input ii xserver-xorg-input-evdev 1:2.3.2-6

Re: My syster reboots automatically when trying to shut it down.

2011-09-17 Thread Πρεκατές Αλέξανδρος
Thanks for the link. Unfortunately init 1 wont work . I tried bootupdate method with the boot iso cd (linux friendly) but i get an 'boot id's dont match' (my bios dont have an ID!!!).. Anyway i'll try another boot update method as soon as i locate the relative jumper, alex -- To UNSUBSCR

Re: mdadm and fsck

2011-09-17 Thread Andrew McGlashan
Hi, Joey L wrote: I have a broken raid1 drive set - i was able to fix 1 but the other raid still has issues. You fixed the file system with fsck. One drive [of md0] is considered fine, the other is becoming fine during the rebuild. i have gone through the tutorials online to bring it back

Expanding undefined variables within a shell

2011-09-17 Thread Regid Ichira
Within a shell, what is the difference between [ -n undefinedString ] and [ -n "$undefinedString" ] ? With bash I get: $ unset undefinedString $ [ -n undefinedString ] && printf "$undefinedString" | od -c 000 $ [ -n "$undefinedString" ] && printf "$undefinedString" | od

Re: mdadm and fsck

2011-09-17 Thread Andrew McGlashan
Hi, You might also find the attached script useful, I place it in /etc/profile.d/ and it runs when I login. When I am doing a rebuild, I do the following to monitor the progress: watch -n .5 $CMDADM2_CMD That will repeat the command set each half a second. Cheers AndrewM if [ -d /dev/disk/b

Re: My syster reboots automatically when trying to shut it down.

2011-09-17 Thread Camaleón
On Sat, 17 Sep 2011 19:11:39 +0300, Πρεκατές Αλέξανδρος wrote: > Thanks for the link. > > Unfortunately init 1 wont work . Hum... then it can be something related to acpi :-? > I tried bootupdate method with the boot iso cd (linux friendly) but i > get an 'boot id's dont match' (my bios dont

Re: mdadm and fsck

2011-09-17 Thread Andrew McGlashan
Andrew McGlashan wrote: You might also find the attached script useful, I place it in /etc/profile.d/ and it runs when I login. You might want this other file too, it defines the system binary locations (and more) as used in the other script... ;-) A. # Global Variables EDITOR=/usr/bin/vim

Re: A quick Q: how do I link LS or Ls to ls

2011-09-17 Thread Darac Marjal
On Sat, Sep 17, 2011 at 03:24:12PM +1000, Rob Hurle wrote: > On Sat, Sep 17, 2011 at 12:01:50PM +0800, lina wrote: > > I wonder is it possible to make the terminal recognize > > > > LS or Ls > > > > as > > > > ls > > Become super-user (sudo): > > #cd /usr/local/bin > #ln -s /bin/ls Ls > #ln -s /b

Re: Expanding undefined variables within a shell

2011-09-17 Thread Claudius Hubig
Regid Ichira wrote: > Within a shell, what is the difference between [ -n undefinedString ] and [ > -n "$undefinedString" ] ? >With bash I get: > >$ unset undefinedString >$ [ -n undefinedString ] && printf "$undefinedString" | od -c >000 You are just testing for the length of

CD reader doesn't read audio CDs

2011-09-17 Thread Scurz
Hi, I've done all the researches I could to find a solution but the CD/DVD reader doesn't read my audio CDs (but it reads data CDs) since a while... So, I get this kind of errors : sr 0:0:0:0: [sr0] Sense Key : Hardware Error [current] [sr0] Add. Sense: Tracking servo failure sr 0:0:0:0:

Re: Expanding undefined variables within a shell

2011-09-17 Thread John L. Cunningham
On Sat, Sep 17, 2011 at 09:11:16AM -0700, Regid Ichira wrote: > Within a shell, what is the difference between [ -n undefinedString ] and [ > -n "$undefinedString" ] ? > With bash I get: > > $ unset undefinedString > $ [ -n undefinedString ] && printf "$undefinedString" | od -c >

Re: X and no Keyboard (debian Squeeze)

2011-09-17 Thread Camaleón
On Sat, 17 Sep 2011 17:29:57 +0200, Julien Claassen wrote: > Hello Camaleon! >I mean, the moment X starts, the keyboard doesn't respond at all. the > keyboard as such is nicely connected and everything. >Here's the output from the filtered package list: > # dpkg -l | grep xserver-xorg-inpu

Support of Ethernet card Broadcom

2011-09-17 Thread Bruno Costacurta
Hello, I bought an Acer (model 4750) and tried to install on it Squeeze image i386 CD-ROM. During the network hardware detection the Ethernet card Broadcom (model Netlink BCM57785) is not recognized (note : I identified this model using an Ubuntu 11.04 live DVD). I suppose it is simply no

Re: Support of Ethernet card Broadcom

2011-09-17 Thread Andrew McGlashan
Hi Bruno, Bruno Costacurta wrote: I bought an Acer (model 4750) and tried to install on it Squeeze image i386 CD-ROM. During the network hardware detection the Ethernet card Broadcom (model Netlink BCM57785) is not recognized (note : I identified this model using an Ubuntu 11.04 live DVD). I s

Re: X and no Keyboard (debian Squeeze)

2011-09-17 Thread Ralf Mardorf
Hi Julien :) nice to read you here too. On Sat, 2011-09-17 at 16:24 +, debian-user-digest-requ...@lists.debian.org wrote: > # dpkg -l | grep xserver-xorg-input > ii xserver-xorg-input-evdev 1:2.3.2-6 > X.Org X server -- evdev input driver > ii xs

Control Display Driver on Bootup

2011-09-17 Thread David Baron
Is there a way, using a bootup command or option, i.e. setting some env, that can control whether I use nouveau or nvidia drivers. Some startup script would need to 1. Copy or remove nouveau blacklist on /etc/modprob.d 2. Copy appropriate xorg.conf version to xorg.conf Would be even better if t

Re: Control Display Driver on Bootup

2011-09-17 Thread Sven Joachim
On 2011-09-17 20:21 +0200, David Baron wrote: > Is there a way, using a bootup command or option, i.e. setting some env, that > can control whether I use nouveau or nvidia drivers. Some startup script > would > need to > > 1. Copy or remove nouveau blacklist on /etc/modprob.d > 2. Copy appropri

sed usage (was: automated editing of text files)

2011-09-17 Thread Tom Furie
On Fri, Sep 16, 2011 at 12:58:08PM -0600, Bob Proulx wrote: > Using sed is a good tool for this but if you want to append then you > should use the 'a' command. > > $ printf "one\ntwo\nthree\nfour\n" | sed '/two/a\ > -> foo' > one > two > -> foo > three > four This doesn't quite wor

Re: mdadm and fsck

2011-09-17 Thread tv.deb...@googlemail.com
17/09/2011 17:18, Joey L wrote: > I have a broken raid1 drive set - i was able to fix 1 but the other raid > still has issues. > i have gone through the tutorials online to bring it back online but > still unable to bring it back. > > Do i have to run fsck on the individual member drives ??? Shor

Re: Expanding undefined variables within a shell

2011-09-17 Thread Jochen Spieker
Regid Ichira: > > Within a shell, what is the difference between [ -n undefinedString ] and [ > -n "$undefinedString" ] ? The interesting difference is between $undefinedString and "$undefinedString". The former resolves to literally nothing, not even an empty string. When you use qoutes, you g

Re: sed usage (was: automated editing of text files)

2011-09-17 Thread Bob Proulx
Tom Furie wrote: > Bob Proulx wrote: > > Using sed is a good tool for this but if you want to append then you > > should use the 'a' command. > > > > $ printf "one\ntwo\nthree\nfour\n" | sed '/two/a\ > > -> foo' > > one > > two > > -> foo > > three > > four > > This doesn't quite wo

Re: mdadm and fsck

2011-09-17 Thread Joey L
Thanks for the scripts and the reply !! now i think i understand raid on linux a lot better - but do have additional questions :) My /dev/md0 the root filesystem came back - Thank God !! and you :) Info you requested : root@rider:~# mdadm --detail /dev/md0 /dev/md0: Version : 1.2 Creatio

Re: mdadm and fsck

2011-09-17 Thread Joey L
Thanks for the info and quick reply. My /dev/md0 has rebuilt itself and is okay. My /dev/md1 is gone after a reboot - and is no longer showing - I get nothing when i run: root@rider:~# mdadm --detail /dev/md1 mdadm: cannot open /dev/md1: No such file or directory Questions for you: 1. How do I

apt-build issues

2011-09-17 Thread Chris Brennan
So I decided to try and play with apt-build and I got the following which I can't seem to solve or figure out how to solve lol root@Blackdragon:~# apt-build update Could not open file /var/lib/apt/lists/www.debian-multimedia.org_dists_squeeze_contrib_source_Sources - open (2: No such file or dire

Re: mdadm and fsck

2011-09-17 Thread Andrew McGlashan
Hi Joey, Joey L wrote: Thanks for the scripts and the reply !! now i think i understand raid on linux a lot better - but do have additional questions :) Great. My /dev/md0 the root filesystem came back - Thank God !! and you :) Info you requested : root@rider:~# mdadm --detail /dev/md0 /dev/