« Caller ID Project | Main | REALLY annoying problem »

December 4, 2003

Misc. trivia

Neat command line for Unix - assumes that "locate" db is kept up to date:

locate /core | grep core$ | xargs file

That'll return core files, ignoring stuff where core is just 'in' the name.

locate /core | grep core.\*$ | xargs file

will include the core files with .[pid] in the filename but will also include some other random files... Sorry. :)

Also useful:
http://www.cs.princeton.edu/~sudhakar/linux/trivia.html

which helped me figure out how to get sshd working on my XP box (cygwin).

Posted by aland at December 4, 2003 11:51 AM

Trackback Pings

TrackBack URL for this entry:
http://www.aland.us/mt/mt-tb.cgi/29

Comments

Post a comment




Remember Me?