Tag Archives: bash

Nautilus Script to Launch a Terminal

I often find myself browsing my filesystem with Nautilus (the GNOME file manager) and wanting a terminal window to manipulate files in the current directory.  I decided to take a shot at writing my own Nautilus script to solve the problem. So here’s my first Nautilus script. Save it in $HOME/.gnome2/nautilus-scripts. I named it terminal-here on my system. Continue reading

Bash to Basics: Bash Rocket Science

Last time in Bash to Basics I showed how to print text to the terminal with the echo command. This got me thinking about the first program I wrote when I was in fourth grade. I was fortunate enough to be in a school district that had computers in the early ’80s. If you’re around my age, then you may remember the mighty Commodore PET computer.

Some of us were put into a program to learn BASIC programming. The first program we were taught to write made a rocket ship fly up the screen by using Print statements. It looked something like this: Continue reading