Urs Thuermann wrote:
Sebastian Witt <[EMAIL PROTECTED]> writes:
my problem is, that the output of "mount" is very long (and also the
/etc/mtab file.)
it has double entries over and over:
Haven't tried it, but I think the following would help:
: > /etc/mtab
mount -a -f
thx, t
On Wed, May 25, 2005 at 08:28:40AM -0400, Paul Smith wrote:
> The most common usage these days is in conjunction with :=, like this:
>
> : ${TMPDIR:=/tmp}
>
> The := form assigns the value if the variable is empty, but it _also_
> substitutes the value. Adding ":" to the front makes that val
%% Maurits van Rees <[EMAIL PROTECTED]> writes:
mvr> [EMAIL PROTECTED]:~$ : > temp
mvr> Does anyone know any other uses for this ':' command?
The most common usage these days is in conjunction with :=, like this:
: ${TMPDIR:=/tmp}
The := form assigns the value if the variable is empty,
On Wed, 2005-05-25 at 12:40 +0200, Maurits van Rees wrote:
> On Wed, May 25, 2005 at 11:28:04AM +0100, michael wrote:
> > On Wed, 2005-05-25 at 12:00 +0200, Urs Thuermann wrote:
> > > : > /etc/mtab
> >
> > what's the ':' do???
>
> Nothing. At least hardly anything worth mentioning. See this s
On Wed, May 25, 2005 at 11:28:04AM +0100, michael wrote:
> On Wed, 2005-05-25 at 12:00 +0200, Urs Thuermann wrote:
> > : > /etc/mtab
>
> what's the ':' do???
Nothing. At least hardly anything worth mentioning. See this snippet
from the bash manual:
#
SHELL BUILTIN COMMANDS
: [argu
On Wed, 2005-05-25 at 12:00 +0200, Urs Thuermann wrote:
> Sebastian Witt <[EMAIL PROTECTED]> writes:
>
> > my problem is, that the output of "mount" is very long (and also the
> > /etc/mtab file.)
> > it has double entries over and over:
>
> Haven't tried it, but I think the following would help:
Sebastian Witt <[EMAIL PROTECTED]> writes:
> my problem is, that the output of "mount" is very long (and also the
> /etc/mtab file.)
> it has double entries over and over:
Haven't tried it, but I think the following would help:
: > /etc/mtab
mount -a -f
urs
--
To UNSUBSCRIBE, email
7 matches
Mail list logo