Ron Stodden posted <[EMAIL PROTECTED]>, excerpted below, on
Mon, 20 Oct 2003 12:23:18 +1000:

> Duncan wrote:
> 
>> If you don't use core files for debugging, it's probably wise to turn
>> them off.  See the ulimit builtin from BASH, and the entry in
>> /etc/profile. Note that the default is no core files, and the profile
>> entry turns them on for root, with a limit of 1,000,000x1024 bytes!! 
>> With a 5G /, you are lucky it was only 7.8M, instead of closer to the
>> nearly a gig limit!
> 
> Thanks.  I commented it out in /etc/profile, viz:
> 
> # Users generally won't see annoyng core files # [ "$UID" = "0" ] &&
> ulimit -S -c 1000000 > /dev/null 2>&1
> 
> and look forward to no further problem (fingers crossed :-) ).
> 
> I cannot decode your mention of bash�s ulimit command into some
> desirable action (no man info found).

(I took a little break from the list, for awhile, and am just catching up
again, thus this reply to a nearly two-week old post..)

That's it.  As for info on ulimit, as I said, it's a bash built-in
command, so it will be under the bash man page, not its own.
 The bash man page is rather more like a man BOOK, or even a man
ENCYCLOPEDIA <g>, it's so long, but using the Mdk default less as the man
pager, "/" puts man (or less, actually) into "find" mode, so you can use
"/ulimit" and then hit return to search for it once the bash manpage is
loaded. Or.. at least with the manpage version as I have it here.. ulimit
is covered starting at line 4305, it looks like.

More in general..  for those not already very familiar with bash and
bash/sh scripting, that entire man page contains some VERY useful
information..  Well worth browsing thru when you have some time.

Or.. for a good all around Linux reference book, try O'Reilly's "The
Arabian", aka "Linux in a Nutshell". The main part of the book consists of
a quick-reference of most of the common Linux commands used in console
mode. However, it has additional chapters on some of the more complicated
stuff, including one on bash, one on package managers (rpm and the debian
package manager), another as an intro to regexps, another on LILO, etc.
The BASH, regexp, and package manager sections, I use enough to have color
coded the edge of the pages so I can turn right to those sections when
needed.  (The other book I found equally helpful when I decided to get
serious about Linux, but one that's more of an introduction or beginner
tour, so not used so much as a reference work now that I'm familiar with
Linux, was again an O'Reilly book, "The Rearing Horse", aka "Running
Linux".  Together these books advanced me AT LEAST a quarter's worth of
full time learning ahead of where I'd have been learning Linux without
them.  They cost me a total of about $70 (US) at Fry's Electronics, but
they came well recommended, and I count that as one of the best purchases
I've ever made.)

-- 
Duncan - List replies preferred.   No HTML msgs.
"They that can give up essential liberty to obtain a little
temporary safety, deserve neither liberty nor safety." --
Benjamin Franklin



Reply via email to