Show-n-Tell Thursday – Multiple commands to the Domino Server Console

My first ‘Show-n-Tell Thursday’ tip is a basic one, but one that I use in the classroom constantly. I’m surprised by the number of students that haven’t heard of it. Hope that you like it.

If you’re like me, you use certain commands over and over again at our Domino Server Console. One that I use a lot is the rep command. The problem is that I don’t like to sit there and send a command for each server that I have to replicate with. This tip will minimize that time at the console.

What you do is create a text file with each command on a new line. You can give the file any name that you want, but I like to use a bit of description of what it does in the file name. For example, I will create a text file called ‘rep2all.txt’ with the following commands on each line;

rep server1/orgname names.nsf
rep server2/orgname names.nsf
rep server3/orgname names.nsf
rep server4/orgname names.nsf

Then all I have to do is either place that file in the Domino server’s programs directory (usually something like LotusDomino and use the command
< filename.txt
or place it anywhere on your Domino server and call it by the full pathname
< d:filesfilename.txt
REMEMBER TO PLACE A SPACE BETWEEN THE ‘LESS THAN’ SIGN AND THE FILENAME/PATH.
What you should see at your console is the commands ‘rapidfired’ to the server console.

Technorati tag(s): Show-n-Tell Thursday

  • Too cool! I’m so out of touch w/ all things admin. But I’ve got one playground server set up now, and hope to get more machines under my evil control. I had NO IDEA that one could do this kinda thing (the tiny bits of admin that foolhardy folks have let me do in the past, saw me typing everything …usually poorly)

  • After all the things I’ve learned from you, I feel honored that I gave you a tip.

    Actually, you can throw a tip back at me… How did you got your avatar in the comments?

  • Ray,
    The avatar is via a site called Gravatar ( http://www.gravatar.com/ ) ….They’ve got pretty easy instructions there for how to sign up (free) and upload an image. It took a few days for my graphic to be reviewed and approved. Contrary to what I thought I read on the site or in an initial email, I never did receive an email notifying me that my avatar was active; it just started showing up in post comments a few days after I signed up.

    Either the newer versions of BlogSphere are already enabled to handle the Gravatar images (a little javascript that gets added) or you’ve done that yourself. I’m running a real old BlogSphere version (heavily modified) …but I have *finally* started working on the upgrade, so I may join you young folks with the new-fangled gizmos soon 🙂

  • I found your new Blog… Don’t mind my mug over there to the left!

  • Ray!! How are ya man. Glad to finally get to say another “hello” after the big show.

    Great tip. Like Joe, I’d have to call myself a “developer” if pressed. But I have also done a fair bit of admin over the years as well, to the extent that my latest project is almost entirely admin focused. That said, I did not know you could do this, so I’m glad you posted it.

    BTW – dunno why by the gravatar stuff appears broken as I write this.

    Kev

  • @Joe – Thanks! How I can see my avatar in it’s full glory! Very cool stuff!

    @Chris – Welcome! Don’t mind your mug being on the left either!

    @Kevin – Howdy! I miss the ‘Sphere already! I’m hoping to have more of these admin tips over the next few weeks, mixed with what little developer stuff I know. I’m even known at my work as the ‘admin instructor’. Not sure why your ‘gravatar’ isn’t working… Mine started to show up…

  • I now have a gravatar too (yeah for me ). I can see them fine now.