Command Line archives - Our Latest Discovery

Our Latest Discovery:

command line

May 12 2008   9:46AM GMT

Video: Richard Stallman talks about the importance of free software, GNU, copyleft and open sourcing



Posted by: Alexander Howard
open source, operating systems, command line, video, YouTube, commentary, free, invention, copyright, collaboration, freeware, conversation, community, code, fundamentals, history, software development

In these videos, Robin Good interviews Richard Stallman about free software and the open source movement. Stallman created the GPL and the Free Software Foundation to protect the GNU operating system from becoming proprietary.

In the sequence embedded below, filmed, the founding father of open source software answers a series of questions. This interview was originally posted at MasterNewMedia.org in 2006 and features commentary and links from Robin Good.

Q: What is free software?

Q: What are the negative consequences of using proprietary software instead of free software?

Q: What free software do you recommend using?

Q: Can individuals and organizations use GNU/Linux in their daily operations?


Q: What can individuals do to support the open source movement?

Mar 14 2008   10:10AM GMT

Video: gOS installed on an old IBM Thinkpad.



Posted by: Alexander Howard
open source, operating systems, command line, video, YouTube, cool, desktop, buzz, cloud computing

This video from a 15 year old UK student demonstrates a successful installation of gOS on a laptop nearing a decade of service.

He installed some snark in his YouTube video notes as well, noting that:

I managed to install gOS on a 9 year old IBM ThinkPad 600E laptop. This video shows just how well Linux will run on pretty much any hardware. Vista doesn’t look much better than gOS and would never even boot on old hardware like this, let alone run demanding applications such as GIMP.

You can download and try gOS from ThinkgOS.com.


Jan 28 2008   3:47PM GMT

What is virtual networking? Readers respond to “virtually everything.”



Posted by: Alexander Howard
Networking, Virtualization, command line, virtual, commentary, feedback, buzzword, controversy, word meanings

Virtualization was top of the mind for IT administrators and media alike last year. 2008 is no different. Just review the much-discussed recent survey, IT priorities in 2008. If a technology can be remotely related to any virtual, you can bet that vendors will do so. “Virtual insanity” isn’t a 90s Jamiroquai tune.
Our job, as always, is to cut through the buzzwords to the meat of what any particular technology is, how it works, who is using it and why it’s important. Read our definitions for server virtualization, application virtualization, file virtualization, virtual machine and paravirtualization to get just a taste of our virtual offerings. We even added Second Life to the database, after it became clear that virtual worlds needed some explanation as well.

If you want the complete virtual file, head over to the complete virtualization taxonomy.

A couple of readers responded to a Word of the Day from last week, virtual networking. One asked for clarification, the other outright disputed the entry. Following is most of our definition for virtual networking, if you missed it (and if you did, make sure to sign up for the Word of the Day newsletter).

Virtual networking is a technology that facilitates the control of one or more remotely located computers or servers over the Internet. Data can be stored and retrieved, software can be run and peripherals can be operated through a Web browser as if the distant hardware were onsite.

Virtual networking facilitates consolidation of diverse services and devices on a single hardware platform called a virtual services switch. The centralization of control reduces the cost and complexity of operating and maintaining hardware and software compared with administering numerous separate devices in widely separated geographical locations. Maintenance personnel and administrators can install device drivers, perform tests and resolve problems on the remote machines from a single location.

It may be necessary to install virtual networking software on the remote computers or servers to take advantage of this technology. Several vendors, including Microsoft and VMware, offer virtual networking software. Some vendors offer comprehensive virtual networking services, allowing business network administrators to outsource labor and resources to the vendor. Virtual networking capability is a standard feature of Windows XP and Vista.

Here’s our reader’s request for clarification:

“Correct me if I am wrong, but I thought accessing something over the Internet is still a physical network. Yes, it isn’t a LAN, but I think it wouldn’t be appropriate to classify as “Virtual Networking”. It is a real network, physical connection, but under the cooperation of the original network (ie a company or home network) , telecommunications provider and possibly an intermediate ISP. It is still all physical and I would think “Virtual” would be an inappropriate classification/definition.” -Justin Snyder

Justin, thanks for writing in. In this sense, the term virtual is used in a more figurative than literal way. In general, virtual simply means the quality of effecting something without actually being that something. All of the various virtualization technologies are a variant of this concept. In server virtualization, one physical server is divided into multiple isolated virtual environments, each of which is masked from the users. Virtual tape makes it possible to save data as if it were being stored on tape although it’s actually be stored on hard disk or on another storage medium. A guest OS is an operating system installed in a virtual machine or disk partition in addition to the host or main OS. In each case, a software layer has been added in lieu of a physical connection.

Virtual networking is much the same. A virtual sevices switch allows the sysadmin to monitor or change configurations remotely — or virtually — instead of going to the location in person. Justin, you’re right — whenever you access something online, it does flow over physical devices at one point or another, even if it’s wireless — but the technologies that underpin much of that traffic are these days, often virtual.

Our other reader strongly disagreed with the idea of virtual networking on a more existential level:

This entry [virtual networking] is specious and should be deleted. Unix workstations and servers have had this capability for at least 15 years. And there is nothing virtual about it. It simply uses a little hardware and OS capability, accessed via the network. Since when did anything and everything involving the network become “virtual”? Is e-commerce going to be renamed “virtual shopping”?

Microsoft and VMware have done nothing more than catch up to 1990’s technology, slap a “virtual” label on it, and pretended as though they invented it. Give us a break. -Brian Herzog

Brian, I agree. Virtual has now been attached to so many products that the term is well on its way to being meaningless. You make a great point, with respect to the historical abilities of Unix gurus far and wide to effect changes through the command line, abilities only now being entrusted to mere mortals using Windows GUIs. That being said, even if Microsoft and VMware are adopting “old” technologies and incorporating them into their offerings, I think the process of networking using this kind of is fairly described as virtual. If I’m wrong, I’m sure I’ll hear more from you, our dear readers, on this count.

Thanks for writing in!


Jul 9 2007   6:17PM GMT

Code to Joy’s 7 Wonders of Programming Languages



Posted by: Alexander Howard
programming, command line, Technology, fun, interesting, Development, conversation, code, Ruby on Rails, controversy

It’s been quite a week for wonders of the world. First, the online world got together and voted for seven modern wonders of the world, provoked by the lonely status of the Pyramids as the last remaining example of the ancient wonders. (For those that love these kinds of lists, Wonderclub.com has put together their own indices of global wonders, including ancient, modern and natural versions.)

My eye was drawn, however, to this list of programming languages from Code to Joy, where computer scientist, philosopher and cyberscriber M. Easter has “compiled” his own, “admittedly biased,” list of languages. In chronological order, here are the languages that the digital composer thought were the seven wonders of the coding world:

  1. Fortan
  2. Lisp
  3. Smalltalk
  4. C
  5. Python
  6. Java
  7. Javascript

Now, no doubt many of you are already grumbling. What about C++, Visual Basic, COBOL, Perl or APL? What about the sexy new kid on the block, Ruby? What about PHP, ubiquitous on the Linux servers that underpin today’s database-driven Internet?

Several comments on Easter’s post have already listed those examples, protesting Easter’s choices, along with .NET, Forth, SKILL, Objective-C, Haskell and others. As usual, everyone has an opinion — especially on a rather subjective subject like this.

Whew! Editing a list like this isn’t easy, of course, and it’s much easier to criticize than create. What do you think? When you look at the history of code, as illustrated in this exceptional diagram of the evolution of programming languages (hat tip to M) which do you think are “wonders of the programming world?”

What would your list look like?

My own line in the sand, in case you were wondering, would (in no particular order) reads follows:

  1. Javascript
  2. Java
  3. C
  4. Ruby
  5. COBOL
  6. Perl
  7. Python

Agree? Disagree? Think the whole thing is preposterous? Comment away.


Jun 26 2007   11:14AM GMT

Sneakernets, removable storage and hassle-free file transfer methods



Posted by: Alexander Howard
Storage, open source, wireless, Mobile, applications, command line, software, media, data, Internet, useful, cool, MP3, lifehack, downloads, collaboration, freeware, network, Bluetooth, music, howto, backup, fundamentals

One of WhatIs.com’s faithful readers wrote in recently with a suggestion for a much-beloved IT sniglets page (go take a look if you think words like CrackBerry, AlzIMers, IMglish or prairiedogged are a hoot): sneakernet. We love that sort of thing, of course (write to us!) but in this case we already had a definition for sneakernet: a method of transmitting electronic information by personally carrying it
from one place to another on floppy disk or other removable medium. The concepts certainly doesn’t seem many years removed from the days of copying working files onto a 3.5″ floppy disc at the end of the day in the computer room — or even of writing simple algorithms to the cassette tapes attached to the ancient PET computers next to my classroom in the late 80s.

As is so often the case, technology and life comes in cycles. In recent years, the explosion of cheap, removable flash drives (or jump drives, so some folks call them) has allowed mind-bogglingly large sneaker-borne file transfers copied over speedy USB 2.0 ports. iPod owners have long since discovered that those giganormous 80-gigabyte hard drives also make fantastic data warehouses for easy travel and transfer (as long as you don’t forget the cord!) and of course, it’s a cinch for most PC owners to burn a copy of a file to a CD and walk it over to another desk or office. That sort of thing can result in podslurping, of course, as network admins know. Entire operating systems can be carted around as LiveDistros, along with whatever portable applications a user might desire. I won’t even touch, of course, the multitude of flash memory formats that inhabit cameras, smartphones, GPS devices and other electronica, each a potential method of data transfer in “the sneakernet.”

(BTW, hat tip for the cool sneaker image goes to ProZak on Flickr)

So sneakernet is definitely not dead (as noted in this tip from SearchNetworking from 2005). The prompt provided by the reader email did, however, recall to my biological RAM an e-column I read just last week from David Pogue, the witty and frequently funny technology reviewer over at the New York Times. David recently wrote about a trip to California where he managed to forget a folder of 2 GB of digital photos he’d taken of digital SLRs he was reviewing in that week’s paper. With the help of a marvelously patient wife, he managed to get the files transferred over to his laptop from home using a nifty little shareware application called Pando. Pando provides, as David says, “a free, cross-platform, super-simple program designed expressly for idiotproof file transfers, even big ones.”

You can learn more at (you guessed it) Pando.com.

The only snag is that for the service to work, both users have to download and install the client, a step and hitch that David rightly suggests is a potential hindrance, or even impossible for some end users without admin privileges. That being said, Pando worked well for David and is allowing thousands of users to easily backup, transfer, recover and (yes) trade quite large media files. Color me a fan.

Aside from discovering Pando (thanks, David!), the process Pogue worked through is remarkably similar to one that plays out in classrooms and cubicles daily. How to do it? Sneakernet and removable storage is certainly one way, though I hear that the “Interwebs” is an attractive method these days as well. Here’s a crack at a list of ways to make a hypothetical transfer happen. If you have more ideas, please add them in the comments.

For instance, gmail has changed the way that most people think about using email to send attachments, with its remarkably large capacity (convertible to online storage, as I’ve blogged about before, with Gdisk), though I agree with David that 2 gigs is a tag weighty to send this way.

Also like David, I’ve been using FTP for a long time to download and upload files online, though I’ve endured timeouts, unexpected logouts and all manner of file corruptions over the years. I still have fond memories of the early versions of Fetch, including the happy dog icon that accompanied the app. David’s second idea, using an IM-client to transfer files, wasn’t a bad idea at all, though that kind of P2P file sharing isn’t likely to fly on many corporate networks.

As David discovered, however, IM and large files size don’t mix well for file transfer.

Command line geeks know about how to use Secure Shell (referred to as SSH or secsh) to securely access a computer remotely, a method that isn’t exactly for the technically faint of heart but allows direct access to the other computer’s directories. Rajpaul Bagga offers a Secure Shell (SSH) howto if you’re interested.

How else can you transfer large files? The list isn’t short, to be sure, even after touching on CDs, iPods, flash drives, P2P file sharing apps, FTP clients, iPods and IM.

.Mac users can also set up a public folder on their iDisks, which allows them to post large files for others to download, securing them behind password-protection as necessary.

Networking geeks can directly connect one PC to another with a crossover cable. And, as many will point out, a server or shared hard drive can be set up for file sharing as well.

You can use the IrDa port on your PDA and laptop (if they both have one!) to swap files using infrared.

And (of course) Bluetooth can be enabled to allow easy transfer between PCs, PDAs and printers, though bluesnarfing should worry users with proprietary or sensitive data.

Some smartphone users can use MMS to send files as well, most often pictures or (very short) videos taken with digital cameras. Unless you’re on an EV-DO, HSDPA or some other 3G wireless network, however, this won’t work particularly well with larger files.

Did I miss anything? Let me know in the comments!


Apr 17 2007   9:37PM GMT

ToDo.txt: Gina Trapani lifehacks her way into productivity scripting



Posted by: Alexander Howard
command line, scripting, lifehack, freeware, Development, code, tool, howto

Are you always struggling with multiple todo lists and trying to be more productive? Are you comfortable with the command line? If so, try out ToDo.txt. It’s a simple, elegant way to combine scripting and text files. Gina Trapani, Lifehacker and blogger extraordinaire, is the lead developer of the the code for this particular discovery.

While this method isn’t for the faint of heart or the inexperienced, Unix gurus and productivity mavens alike will enjoy the library of scripts and management tools found at ToDoTxt.com.