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 enlightenment, I'd be
curious ;)
--
Chris Jackson
Shadowcat Systems Ltd
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 builtin that you should avoid if you want to use the
time binary.)
Actually it's
?
Interestingly, Samuel Johnson'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
, 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? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4d6d2b63.70
.
--
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
--
Chris Jackson
Shadowcat Systems Ltd.
--
To UNSUBSCRIBE, email
Rodolfo Medina wrote:
Chris Jackson c.jack...@shadowcat.co.uk 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 created a file at 14:43 UTC
-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 unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org
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
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.debian.org
with a subject of unsubscribe. Trouble? Contact listmas
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 unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org
)) {
print STDERR error reading: $!\n;
exit 1;
}
exit 0;
-- end of script
--
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/4cb066fc.30
/su is in the login package.
If you want to supply a command to it, rather than run a shell, you need
su -c command
su something tries to change to user something and run a shell (man
su for details).
--
Chris Jackson
Shadowcat Systems Ltd.
--
To UNSUBSCRIBE, email to debian-user-requ
program running locally (you
can do this with an external address too, but lo is there for if
you're not running one, or it's not up at the moment, etc.). eth
interfaces shouldn't have this address.
--
Chris Jackson
Shadowcat Systems Ltd.
--
To UNSUBSCRIBE, email to debian-user-requ
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...@lists.debian.org
Archive: http
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.debian.org
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.0
--
Chris Jackson
Shadowcat
=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 can do it neater, but as I
say, it seems to work ;)
--
Chris Jackson
Shadowcat Systems Ltd
;)
--
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
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
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 unsubscribe. Trouble? Contact listmas...@lists.debian.org
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
'9' as you are expecting ;)
--
Chris Jackson
Shadowcat
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.
--
Chris Jackson
Shadowcat
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
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 debian-user
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: http://lists.debian.org
of=$(hostname)-$(date +%Y%m%d).tbz ) 21 )
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 unsubscribe. Trouble? Contact listmas...@lists.debian.org
: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
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
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, perhaps include it.
--
Chris Jackson
Shadowcat Systems Ltd.
--
To UNSUBSCRIBE, email to debian
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 unsubscribe. Trouble
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 example line:
TV|VOX-1|167(2
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]|/' | wc
in 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.org
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
. This
produces a little window with the email address in it. I copy this into
Mutt and carry on from there. Not very elegant but it works.
If you go to Edit - Preferences, go to the Applications section, and
add or change the entry for content type mailto, you can use a
different mailer.
--
Chris
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
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 Systems Ltd
.
--
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
.
It's a regular 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 Jackson
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 that
might have
a
journal on there.
If you're using ext3, dumpe2fs device 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
/=/, $x, 2;
print $key: $val\n;
$paramhash{$key}=$val;
}
$cmd=mutt;
$cmd.= -s .escape($paramhash{subject}) if($paramhash{subject});
$cmd.= -c .escape($paramhash{cc}) if($paramhash{cc});
$cmd.= -b .escape($paramhash{bcc}) if($paramhash{bcc});
$cmd.= $address;
print $cmd\n;
exec $cmd;
--
Chris
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
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.
--
To UNSUBSCRIBE, email to debian-user-requ
46 matches
Mail list logo