Boyd Stephen Smith Jr. wrote:
> In <4d9c342a.1090...@shadowcat.co.uk>, Chris Jackson wrote:
>>Boyd Stephen Smith Jr. wrote:
>>> GNU time 1.7
>>> bss@dellbuntu:~$ type time
>>> time is a shell keyword
>>>
>>> (Bash has a time "buil
;:
chrisj@alice$ type kill
kill is a shell builtin
This also means you can't disable it:
chrisj@alice$ enable -n time
bash: enable: time: not a shell builtin
Not sure why time is a keyword (on a par with if, for etc.) rather than
a builtin, but there you go. If anyone has any enlightenmen
's admiration for the French Academy was
what inspired him to write his dictionary, and it seems it was in part
due to this admiration he chose the French-style spellings. "Center"
etc. was more common before that.
No political points, just observations ;)
--
Chris Jackson
Shadowcat Systems Ltd.
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4d98dc61.6020...@shadowcat.co.uk
p on how to use the command line. This site seems as good as any, but a
web search will provide many others:
http://linuxcommand.org/
--
Chris Jackson
Shadowcat Systems Ltd.
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? C
tails);
alternatively stat can be useful. Other locales may vary.
--
Chris Jackson
Shadowcat Systems Ltd.
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4d20774d.4000...@shadowcat.co.uk
S Mathias wrote:
> $ MAGIC; do echo "Welcome $i times"; done
> Welcome 0 times
> Welcome 1 times
> Welcome 4 times
> Welcome 5 times
> Welcome 8 times
> Welcome 9 times
> $
>
> thanks:\
for i in 0 1 4 5 8 9; do "elcome $i times"; done
Rodolfo Medina wrote:
> Chris Jackson writes:
>
>> File timestamps are (or at least should be) stored in UTC. It's the
>> display of them that's affected.
>
>
>
> But I did the following experiment: on a computer with system time set to UTC,
> I cre
ly one direction, wherever you are.
--
Chris Jackson
Shadowcat Systems Ltd.
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4cd008b0.4080...@shadowcat.co.uk
u could perhaps use awk:
http://unstableme.blogspot.com/2008/12/awk-formatting-fields-into-columns.html
(bit fugly) or, depending on exactly what you need, look at pr(1).
--
Chris Jackson
Shadowcat Systems Ltd.
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of
;ish IT veteran as he claims
> B. A 20 something tech geek living in mom's basement
>
> :)
Pot, this is Kettle. Kettle, meet Pot.
Don't make me come back there, you two!
:)
--
Chris Jackson
Shadowcat Systems Ltd.
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.d
ents I
can't see how you've been making any serious attempt at this and still
haven't figured it out since July; it's very simple...
--
Chris Jackson
Shadowcat Systems Ltd.
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsu
print STDERR "error writing: $!\n";
exit 1;
}
$nbytes-=$wbytes;
}
sleep($delay);
}
if(!defined($nbytes)) {
print STDERR "error reading: $!\n";
exit 1;
}
exit 0;
-- end of script
--
Chris Jackson
Shadowcat Systems Ltd.
--
To UNSUBSCRIBE,
/su is in the login package.
If you want to supply a command to it, rather than run a shell, you need
su -c
su tries to change to user and run a shell (man
su for details).
--
Chris Jackson
Shadowcat Systems Ltd.
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a
twork/interfaces file (on "old desktop").
Everything has an "lo" interface on 127.0.0.1, that's correct; it's not
the "main" address and is inaccessible from outside the host itself.
It's called the loopback and is used for where you need to make
your locale to do it, just:
export LC_ALL=en_US.UTF-8
do your stuff, and
unset LC_ALL
to go back to French.
--
Chris Jackson
Shadowcat Systems Ltd.
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@l
cookies are enabled. For example, trying to open
http://research.microsoft.com/en-us/people/thoare/
Opens ok here, squeeze Iceweasel/3.5.9
It's fine from here too, lenny iceweasel 3.0.6-3
--
Chris Jackson
Shadowcat Systems Ltd.
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debia
255.0.0.0.
That's the classful netmask for 70.x.x.x.
I've never seen ifconfig used without an interface specified before
(other than to print current settings), but a quick experiment indicates
the netmask needs to go after the ip address:
ifconfig eth0 70.7.4.102 netmask 255.255.255
;$f=1; while(<>) { chomp; if ($_ eq "") { $f=1 } else { if ($f)
{ $x{$_}=[]; $k=$_; $f=0 } else { push @{$x{$k}}, $_ } } } for(sort keys
%x) { print $_, "\n", join("\n", @{$x{$_}}), "\n\n" }'
There's probably a perl hacker or two who ca
e file name)
Never caused me any problems ;)
--
Chris Jackson
Shadowcat Systems Ltd.
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4bf1874f.60...@shadowcat.co.uk
n which may not be in the same
directory you were in.
--
Chris Jackson
Shadowcat Systems Ltd.
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4bd854dd.1080...@shadowcat.co.uk
aders and a number of other useful things for building source
packages.
--
Chris Jackson
Shadowcat Systems Ltd.
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4ba3f43e.60...@shadowcat.co.uk
Paul E Condon wrote:
Try:
bgn=$(date +%s)
sleep 7
end=$(date +%s)
echo "elapsed seconds = " $(( end - bgn ))
You might also want to experiment with:
ps h -o etime $$
as long as you're happy with it only running under gnu. Prints the
elapsed time for the shell.
-
ommand strings but I can't for
the life of me see what's going on.
now='09:07:16'; startHr=${now%%:*}; startHR=${startHr#*0}; echo $startHr;
09
str=09; str=${str#*0}; echo $str;
9
Did you mean to echo $startHR - capital 'R' - in the first one? That is
'
-8.3", you need to remove it by that
name, not just "postgresql". You may need to remove the client/common
files separately.
--
Chris Jackson
Shadowcat Systems Ltd.
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscr
Clive McBarton wrote:
My /etc/resolv.conf gets overwritten periodically. Any ideas why?
I thought network-manager was the culprit and deinstaled it, but the
problem persists.
dhcpd can do it.
--
Chris Jackson
Shadowcat Systems Ltd.
--
To UNSUBSCRIBE, email to debian-user-requ
Carlos Williams wrote:
I think having to type 'clear' before log out is crazy. Also if I have
1,000 users, thats a log of files to edit. Is there no global file
config that will achieve this?
/etc/bash.logout
--
Chris Jackson
Shadowcat Systems Ltd.
--
To UNSUBSCRIBE, email to d
p is there.
Anyone any idea as to what causes that - and what to do about it?
Thanks.
--
Chris Jackson
Shadowcat Systems Ltd.
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: htt
-k $1 | dd of=$(hostname)-$(date +%Y%m%d).tbz ) 2>&1 )
It may cause unexpected results if there're spaces in the filenames though.
--
Chris Jackson
Shadowcat Systems Ltd.
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubs
r...@hercule$ date -d '@1257624539'
Sat Nov 7 20:08:59 GMT 2009
--
Chris Jackson
Shadowcat Systems Ltd.
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
some
time to experiment this weekend if you're still interested.
--
Chris Jackson
Shadowat Systems Ltd.
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
s loaded. Mapping between the module name and the exact
option needed is not always as easy as it might be, but we'll call that
"learning experience" ;) Apart from that, you have to anticipate: for
example if you think you might need USB printing, but don't have one
right now
lee wrote:
On Wed, Dec 09, 2009 at 07:07:52PM +, Chris Jackson wrote:
Note that from the shell this is in single quote marks to stop shell
expansions. Doing it without those would be masochism ;)
It already is:
l...@yun:~/tmp/chan$ cat channels.dvb | sed '/^[^|]*|[^|]*-[0-9]|/&
lee wrote:
On Wed, Dec 09, 2009 at 06:07:34PM +, Chris Jackson wrote:
To match anything except |, use:
[^|]
Thanks! That's nice, but the pattern '\^.*\|[^\|]-[0-9]\|' still
matches all lines ... and I don't see why/how it could to that
... Hmm. Here's an examp
lee wrote:
Hi,
I'm looking for a regular expression that matches anything but the
pipe sign ('|').
To match anything except |, use:
[^|]
--
Chris Jackson
Shadowcat Systems Ltd.
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "u
Chris Jackson wrote:
Looks to me like Debian doesn't have that specific file, as far as I can
make out. It does have a pretty well standard /usr/sbin/inetd in the
package inetutils-inetd, which is started in turn by
/etc/init.d/inetutils-inetd. If it's important to be called t
n the
package inetutils-inetd, which is started in turn by
/etc/init.d/inetutils-inetd. If it's important to be called that, for a
script or the like, you could symlink it perhaps?
--
Chris Jackson
Shadowcat Systems Ltd.
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.o
mailto", you can use a
different mailer.
--
Chris Jackson
Shadowcat Systems Ltd.
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
m of unix, hence not Windows in any
way means or form, You may have better luck on perhaps a Windows mailing
list.
Have fun.
--
Chris Jackson
Shadowcat Systems Ltd.
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
They also went out of business four
years or so ago, so it's not supported. Not to mention the fact it is
horrible and reputed to be spyware...
However, if your friend has a Windows system and really wants to do
this, just search for it.
HTH HAND.
--
Chris Jackson
Shadowcat System
n GMT+0200.
--
Chris Jackson
Shadowcat Systems Ltd.
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Chris Jackson wrote:
Or udev isn't running for some reason.
I correct myself, /dev/null exists, at least on my system (lenny), on
the "underlying" /dev with the minimal set of devices on there. So it
should never not exist as far as I can see. Did you do anything t
gular file of size zero created at 2109 on the 22nd of what
looks like "cen" - which is sep in cyrillic.
Whoever made the comment about something creating the file before the
device gets created is right I rather suspect ;) Or udev isn't running
for some reason.
--
Chris Jack
there.
If you're using ext3, dumpe2fs will tell you how big that is.
--
Chris Jackson
Shadowcat Systems Ltd.
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
;});
$cmd.=" -c ".escape($paramhash{"cc"}) if($paramhash{"cc"});
$cmd.=" -b ".escape($paramhash{"bcc"}) if($paramhash{"bcc"});
$cmd.=" $address";
print "$cmd\n";
exec "$cmd";
--
Chris Jackson
Shadowcat Systems Ltd.
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Chris Burkhardt wrote:
>> chown chrisj.chrisj ~chrisj
>>
>> That won't follow the .. link.
>
> Shouldn't that include the recursive flag?
>
> chown -R chrisj.chrisj ~chrisj
Apologies, yes it should.
--
Chris Jackson
Shadowcat Systems Ltd.
--
T
chown the home directory:
chown chrisj.chrisj ~chrisj
That won't follow the .. link.
--
Chris Jackson
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
46 matches
Mail list logo