skreuzer's tutorials

Make Linux ignore a ping

Contributed by skreuzer on October 18, 2003 under Linux security

Sometimes it can be useful to hide a Linux machine a bit. These commands will force your linux box to ignore a ping request.

one comment Continue reading... 
 

Hide your BIND version

Contributed by skreuzer on under Linux security

Any user can discover the version of bind you are running with the following command: nslookup -q=txt -class=CHAOS version.bin.remote.dns.server. by altering you named.conf file, you can hind this information.

4 comments Continue reading... 
 

Convert DOS and Windows line breaks to Unix line breaks

Contributed by skreuzer on under UNIX

These one liners will convert a file with DOS (or windows) line breaks to a file with Unix line breaks

one comment Continue reading... 
 

Convert Macintosh line breaks to Unix line breaks

Contributed by skreuzer on under UNIX

This one liner will convert Mac line breaks into Unix line breaks

no comments Continue reading... 
 

Convert Unix lines breaks to Macintosh line breaks

Contributed by skreuzer on under Linux

This one liner will convert Unix line breaks to Mac lines breaks in a text file

no comments Continue reading... 
 

Strip comments from a file

Contributed by skreuzer on under UNIX

This one liner will remove all text after the # character in a file

no comments Continue reading...