趁假期完成了新的 Tomb Raider – Legend ( TRL ) 遊戲,TR 系列我自己每一代都玩,但說實在已經越玩越厭,因為遊戲本身已經沒有什麼可突破的地方了,蘿拉再多的新動作也沒用。所以,還是調整心情,好好探索古墓吧!
這一集遊戲是由另一
Consider the following command:
; grep 'gabba gabba hey' /var/log/messages | wc -l
This looks like a perfectly sane and sensible way of doing syslog loganalysis: fish out a pattern, then count or otherwise crunch it up. It'sjust the sort of thing Unix tools are built for, and I do it all thetime. (My howmany program often gets used here.)
Unfortunately, as I was reminded recently, this appealingly simpleapproach is not quite correct. It
Recently, I accidentally found out which of two options Solaris usesfor matching names in NFS exports. As traditional, I did this by stubbing my toe .
Given a name in an /etc/dfs/sharetab line, there are two possible waysof checking if it matches an incoming NFS request: you could resolve the sharetab name to its IP addresses and see if the request's IP addressmatched, or you could take the request's IP address and try to turn itinto a hostname and see if
What are variables?
In many languages, variables are just labels for storage locations,for a spot in memory. This ranges from pure machine level storage, inlanguages like assembler, up through storage locations augmented withsize and type information, such as in C, all the way to Perl, where the'storage locations' are actually fairly abstract. But they're stillthere, even in Perl, partly because it's a comforting way to think aboutit: variables are where you put things .
In
This week, we:
Volume is way down from last week ; in factit's back to the level I consider fairly quiet (although this volumestill has a lot
繁簡落幕
A commenter on an earlier entry noted that patchadd 's exit codes are apparently not documented because they'reconsidered an internal implementation detail that might change at somepoint. Unfortunately this is bogus logic.
There's a simple rule: once you explicitly expose something to users, itceases to be an internal implementation detail in practice no matterwhat you want (and no matter what you may claim in documentation,although Sun does not explicitly claim this in the patchadd manpage).
Solaris 9 manifestly exposes patchadd 's