[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] I'm an idiot - please help me



> Would it be incredibly stupid to do this and post it on the list?
> On one hand, it would tell the world what the insides of our
> machines look like.
> On the other hand, we'd have something to refer to when
> something like this happens, or when comparing directory
> contents to see if we've been haqd.
>
> I've gone in tonight and ls -la'd all over the place...

ls -alR / > full.ls.listing.txt
/bin/mail -s "ls" admin < full.ls.listing.txt

The first command will provide a full ls listing (hence the name) of
every single directory in your server, starting from the root directory,
and copy it into the full.ls.listing.txt file in the current directory.
The second will mail it to you.

Another thing that you might want to do when you finish setting up the
server. Don't want to post it to the list... might not be incredibly
stupid, but why take chances? Plus everyone can do this themselves.

--
Rodolfo J. Paiz
rpaiz@xxxxxxxxxxxxxx <mailto:rpaiz@xxxxxxxxxxxxxx>