19 December 2009 0 Comments

Using Unix Commands in Windows

If you work with Windows and Linux/Unix, you need to rush out and get MobaXTerm, a free (but not open source) tool. It takes the GNU/Cygwin collection of command line Unix/Linux tools and puts them in a single Windows executable. Think of it as DOS on super steroids.

One of the best features of MobaXTerm is that it includes a built in Xserver, for connecting with a graphical interface to Unix/Linux environments. There are several ways of doing this. Though it requires a little setup on the front end, using Xdmcp is the easiest way to have a complete X remote session.

MobaXterm is a single executable file. You can launch MobaXterm easily from your USB flash memory on any computer.

mobaxterm_startup

The tab-based terminal From this console window, you will be allowed to run the Unix commands you need: ls, cd, grep, awk, tail, cut, sed, wget, rsync, telnet, ssh, rlogin, rsh … All the essential Unix tools are present. If you need a program that is not available in the basic MobaXterm file, you can download the free plugins from the download page.

mobaxterm_terminal_lightbox

Exporting your remote display to your local Windows PC: When you run a SSH, TELNET or RLOGIN/RSH command in this terminal, you will be able to export the remote computer’s DISPLAY to your local Windows PC under Windows.

In this screenshot, the remote computer is running Konqueror which is displayed on the local PC thanks to MobaXterm.

konqueror_export_display

-20091218234416

Downloads

Alternatives

  • Xshell: powerful SSH1, SSH2, SFTP, TELNET, RLOGIN and SERIAL terminal emulator for Windows platforms. It allows users to gain access to Unix/Linux hosts easily and securely on a Windows workstation. (FREE)
  • PenguiNet: the simple all-in-one SSH client for Windows! PenguiNet includes an SCP browser, so that you can easily transfer files with just a few mouse clicks. (Free for 30 days)

MobaXterm Plugins

Here is the list of plugins that you can download and use to add the features you need in MobaXterm.

To install these plugins, just download them and put them in the same directory than the MobaXterm executable.

  • Emacs: The extensible, customizable, self-documenting real-time display editor
  • Fontforge: A complete font editor with many features
  • Gcc: the GNU C compiler
  • G++: the GNU C++ compiler
  • Gvim: The Vim editor with a GTK interface
  • Mencoder: A commandline video transcoder
  • MPlayer: The ultimate video player
  • Perl: Larry Wall’s Practical Extracting and Report Language
  • Tiny C Compiler: A light C compiler that creates native Wi32 executables
  • Vim: Vi IMproved – enhanced vi editor
  • WinSCP: Graphical SCP/SFTP file transfer
  • Filezilla: Graphical FTP file transfer
  • Subversion: The well-known version control system (client only)
  • Netcat: Networking utility which reads/writes data across network connections
  • Xnest: Nested X server

…Stay connected, there are more plugins to come!

Reference:

  1. http://tinyurl.com/yhaqdvg
  2. http://tinyurl.com/y9rdu8q