Phillip Morgan wrote:
>
> How do you check if a file is 0 bytes in size in a bash script.
[ -s filename ]
Cheers,
Steven
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majord
I am working on adding a normal user on my Redhat 7.2 box. I also have openldap
installed.
I added a user using
useradd -s /bin/bash -m lfs &&
passwd lfs
then I also used the smbldap-useradd.pl script and added the same user.
In passwd I have this now:
lfs:x:1007:1007::/home/lfs:/bin/bash
Hi,
How do you check if a file is 0 bytes in size in a bash script. I've
seen stuff where you can check for the existence of a file, even if
it's executable, but can you check if the size is <> 0?
phill
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a
Haines Brown schrieb:
>
> Oliver,
>
> I'm no expert, but I believe that the command line small editor that
> easily fits on a diskette would be ed for Linux. It has vi-like
> commands. Don't know size (perhaps 50 Kb).
>
> Your distribution may have it. Try entering
>
> $ ed --help
>
> to
i'm running Mandrake 8.1, and i think i have to re-install - it looks like
RPMdrake is buggered up, and i can't upgrade rpm at all because of circular
dependencies. So, i want to re-install - I THINK. i figure that i might
as well upgrade to Mdk8.2 in the process, largely because i can't affo