ranking Sort Sort   |   date Sort Sort   |   member Sort Sort
Syndication

7
Date Submitted Sat. Sep. 9th, 2006 12:47 AM
Revision 1
Beginner smallshellscript
Tags bash | sh | shell
Comments 2 comments
A lot of time shell scripts need to do some sort of math. Bash's innability to do floating point arithmatic has lead to some pretty neat workarounds, often times these workarounds are slow. If you need a lot of calculations done with speed, you'll find this snippet useful
6
Date Submitted Mon. Aug. 14th, 2006 7:43 AM
Revision 1
Scripter bertheymans
Tags bash | shell | ssh
Comments 3 comments
This adds your ssh public key to the authorized_keys on a remote server. The key file in the snippet is called id_dsa.pub, yours may have another name but this is standard for DSA encryption.

To learn more about ssh I heartly recommend this: SSH tips and tricks
5
Date Submitted Mon. Aug. 14th, 2006 7:31 AM
Revision 1
Scripter bertheymans
Tags bash | linux | shell
Comments 1 comments
Recursively removes files or directories with a given name, using find.

I most frequently use it to remove 'CVS' or '.svn' directories from sourcepackages that still have the versioning information in them.