I’m a Web site developer and the latest project is for a company involves Sun Solaris users. I don’t even know what Solaris is, but now we have to test against a Unix system. Short of buying one, what’s my easiest solution?
I need to test out some Web site programming on a Linux system and have determined that the Ubuntu distribution is ideal. My question: what’s the best, easiest way to install Ubuntu Linux on my Mac system so I can run all my tests?
I am constantly running commands in Terminal.app on my MacBook and then copying and pasting the results into email messages or documents. Yes, I’m a tech writer. What I’m wondering is if there’s any way to actually copy and past into the Mac system wide copy/paste buffer directly from the command line?
As part of a project I’m working on, I find myself deep in a Linux shell script, needing to have a subroutine that converts a sentence of all lowercase to title case. You know, from “this is a test case” to “This is a Test Case”. Not every word, just the right ones. Doable?
I have a folder full of files which are named with four digits and a file extension e.g. 0312.file and an XML-file describing the contents of these files. I am trying to do a shell scipt that will create folders and rename these files according to the xml, but I don’t know how?
This is a template of what the xml looks like:
<section label=”AA. category”> <children label=”topic” source=”AABB.file” /> </ section>
The script should represent the categories as folders containing the related topics, which should be represented as filenames.
In a different discussion on this site [see Redirecting input in a shell script] a visitor commented that “I was too busy trying to make sure the above post made sense that I forgot to ask for help. If you can, please post examples of how I can make the second argument a requirement and evaluate if it is a number. Thank you in advance!”
If you’re running an online business like I am, there are times when you need to connect and log in to the server to tweak or check things. It can’t be helped and while the Cpanel solution and related are often splendid, sometimes I just like to get bits all over my hands as I “go old school” on my server and use a command line.
In those instances there’s a nice solution on the Mac called “Terminal”, included with Mac OS X, and there’s a rudimentary terminal window app for Windows too, but once you move onto mobile devices of any nature, nothing’s available.
That’s why I was so interested in iSSH [iTunes link], a low-cost iPad application that lets me connect directly to my Web server via a secure, encrypted connection (SSH = secure shell, it’s the secure alternative to “telnet’) from my iPad and, in case of a crisis, even my iPhone.
As part of some user interface testing I’m involved with on an Ubuntu Linux system, I find myself frequently having to rename groups of files in a sequential manner. That is, I’ll have files like “output mm-dd-yyyy at hh:mm:ss” and need to rename them to “testrun-xx-file-yy”. Is there any way to automate this so I don’t have to go crazy typing?