Month: December 2010

ptitle-particle1

Solaris 10 – Create an NFS Share

Solaris 10 – Create an NFS Share The first step is to edit the /etc/dfs/dfstab file. [bash] share -F nfs -o rw=servername -d “share” /share [/bash] Start the server [bash] # /etc/init.d/nfs.server start [/bash]
Read more

Perl Split

Perl Split A very useful function in Perl is split, which splits up a string and places it into an array. The function uses a regular expression and as usual works on the $_ variable unless otherwise specified. The split function is used like this: [perl] $info = “Caine:Michael:Actor:14, Leafy Drive”; @personal = split(/:/, $info); […]
Read more

Perl Hashes – HowTo

Perl Hash Howto This how-to comes with no guaratees other than the fact that these code segments were copy/pasted from code that I wrote and ran successfully. Initialize (clear, or empty) a hash Assigning an empty list is the fastest method. Solution my %hash = (); Initialize (clear, or empty) a hash reference People have […]
Read more

SCCS Commands

SCCS Commands sccs Subcommands Checking Files In and Out The following subcommands are useful when retrieving versions or checking in changes. Checking Out a File for Editing: sccs edit 1 To edit a source file, you must check it out first using sccs edit. SCCS responds with the delta ID of the version just retrieved, […]
Read more

Setting up SSH public/private keys

Setting up SSH public/private keys SSH (Secure Shell) can be set up with public/private key pairs so that you don’t have to type the password each time. Because SSH is the transport for other services such as SCP (secure copy), SFTP (secure file transfer), and other services (CVS, etc), this can be very convenient and […]
Read more
Cart

No products in the basket.