Feeds:
Posts
Comments

Archive for the ‘Linux/Unix’ Category

I was writing a KSH script with the following snippet:
exercises=”ex1 ex2 ex3″
for exercise in exercises; do
mkdir $home/$exercise
filename=Target${exercise}Config.xml
done

The problem was I did not want the file to be named Targetex1Config.xml, but TargetExercise1Config.xml, respectively.  So, I wondered if it was possible to do double-dereferencing (i.e., go from exercise to [...]

Read Full Post »

In order to work with a Unix remote server from my Windows machine, I had to use Putty in place of ssh.  However, I had to move a file from this remote server to my client Windows machine, and Putty is not a parallel of scp (which I normally use on my Mac).
However, pscp seems [...]

Read Full Post »

Putty

Three years ago I remember feeling somewhat intimidated by the idea of trying to use Putty to work with a Linux build server (as I knew nothing about Linux commands).
It may not seem like much, but today I had a friend who wanted to play with some Linux commands even though they had a Windows [...]

Read Full Post »

This blog is hosted on WordPress, which takes care of so many operational details for me.  Essentially, if I can use a word processor, I host my blog on WordPress.
Now, I am creating my own virtual Ubuntu server on SliceHost to host my Rails app.  There is so much more to think about!  I have [...]

Read Full Post »

I remember trying to use vi, again, six months ago. I started typing, and the app exploded once again.
While configuring my Ubuntu server today, I have no choice but to use vi (I usually fallback on TextMate’s mate on my Mac). Just using the following, I was able to do everything I needed [...]

Read Full Post »

Except for what little Unix I had in college, I mostly used a Windows laptop until last year when I got a MacBook Pro.
Last week I read Mark Sobell’s excellent “A Practical Guile to UNIX for Mac OS X Users”, playing around with various commands and writing scripts.  I got an appreciation for how much [...]

Read Full Post »