UpFront
UpFront
Tech Tip
Invoking the cd utility by itself (that is, without any arguments) will change the current directory to the directory specified by the $HOME environment variable:
nick@nimble ~ $ cd /tmp/ nick@nimble /tmp $ cd nick@nimble ~ $
Invoking the cd utility with a single hyphen (-) argument will return you to the previous directory you were in.
If you accidentally issue a cd without any arguments, typing cd - is a convenient way of returning to the directory you came from—in essence functioning as an undo operation:
nick@nimble ~/a/long/path/to/some/files $ cd nick@nimble ~ $ cd - /home/nick/a/long/path/to/some/files $ nick@nimble ~/a/long/path/to/some/files $
Or, if you want to alternate between two directories, cd - makes this simple:
nick@nimble ~/path/to/some/files $ cd ~/another/path/to/some/files/ nick@nimble ~/another/path/to/some/files $ cd - /home/nick/path/to/some/files nick@nimble ~/path/to/some/files $ cd - /home/nick/another/path/to/some/files nick@nimble ~/another/path/to/some/files $
Tech Tip
Garmin is a popular brand of GPS devices. Unfortunately, Garmin makes its MapSource application only for Windows, not Linux. However, Wine runs MapSource, at least for Garmin GPS units that communicate via USB.
The following procedure is based on:
Fedora 8
The current Wine package (wine-0.9.56-1.fc8)
A Garmin Vista CX, with the standard USB cable
Install Wine (as root):
# yum install wine
Make sure that you can access the GPS device. For my installation, the device is /dev/ttyUSB0. I found this by examining /var/log/messages when attaching the device. Check the permissions of the device file, and make sure you have access to it, possibly by adding yourself to the group that owns the device. In my case, I had to add myself to the group uucp. Remember to log out and log back in if you add yourself to a new group.
Now, define the device in Wine. This is done as follows (do this using your normal login, not as root):
$ ln -s /dev/ttyUSB0 ~/.wine/dosdevices/com2
This will define the /dev/ttyUSB0 device as COM2 under Wine.
After that, you simply install the software on the Garmin CD. For example, for City Navigator NT (Europe), using your normal login, do the following:
$ cd /media/CNEURNTV9 $ wine ./Setup.exe
At the end, don't opt to start the program directly. Start it afterward via the command line:
$ wine ~/.wine/drive_c/Garmin/MapSource.exe
Using this procedure, I am able to unlock maps, make routes, upload and download from the GPS unit (via USB) and do software updates.
For more information, see my Web page: www.peterverthez.net/gps/garmin-linux.html.
Tech Tip
When you are hunting for a configuration problem with services like Apache and MySQL, you may have to execute a sequence of commands repeatedly, such as:
/etc/init.d/apache stop /etc/init.d/mysql stop /etc/init.d/mysql start /etc/init.d/apache start
You can create a script to do this, or you can put all the commands on one line separated by semicolons:
/etc/init.d/apache stop; /etc/init.d/mysql stop; \ /etc/init.d/mysql start; /etc/init.d/apache start
However, as you do other things, you sometimes lose “quick” access to the command line in the shell history. To avoid this, “tag” the line with a comment that will make it easy to find:
/etc/init.d/apache stop; /etc/init.d/mysql stop; \ /etc/init.d/mysql start; /etc/init.d/apache start; #apmy
Now, to recall the command, simply do Ctrl-R + apmy, and you should have the command, as long as you've chosen your “tags” wisely.
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Sponsored by AMD
If you already use virtualized infrastructure, you are well on your way to leveraging the power of the cloud. Virtualization offers the promise of limitless resources, but how do you manage that scalability when your DevOps team doesn’t scale? In today’s hypercompetitive markets, fast results can make a difference between leading the pack vs. obsolescence. Organizations need more benefits from cloud computing than just raw resources. They need agility, flexibility, convenience, ROI, and control.
Stackato private Platform-as-a-Service technology from ActiveState extends your private cloud infrastructure by creating a private PaaS to provide on-demand availability, flexibility, control, and ultimately, faster time-to-market for your enterprise.
Sponsored by ActiveState
| Non-Linux FOSS: libnotify, OS X Style | Jun 18, 2013 |
| Containers—Not Virtual Machines—Are the Future Cloud | Jun 17, 2013 |
| Lock-Free Multi-Producer Multi-Consumer Queue on Ring Buffer | Jun 12, 2013 |
| Weechat, Irssi's Little Brother | Jun 11, 2013 |
| One Tail Just Isn't Enough | Jun 07, 2013 |
| Introduction to MapReduce with Hadoop on Linux | Jun 05, 2013 |
- Containers—Not Virtual Machines—Are the Future Cloud
- Non-Linux FOSS: libnotify, OS X Style
- Lock-Free Multi-Producer Multi-Consumer Queue on Ring Buffer
- Linux Systems Administrator
- Validate an E-Mail Address with PHP, the Right Way
- Introduction to MapReduce with Hadoop on Linux
- RSS Feeds
- Weechat, Irssi's Little Brother
- New Products
- Tech Tip: Really Simple HTTP Server with Python
Featured Jobs
| Linux Systems Administrator | Houston and Austin, Texas | Host Gator |
| Senior Perl Developer | Austin, Texas | Host Gator |
| Technical Support Rep | Houston and Austin, Texas | Host Gator |
| UX Designer | Austin, Texas | Host Gator |
| Web & UI Developer (JavaScript & j Query) | Austin, Texas | Host Gator |
Free Webinar: Hadoop
How to Build an Optimal Hadoop Cluster to Store and Maintain Unlimited Amounts of Data Using Microservers
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Some of key questions to be discussed are:
- What is the “typical” Hadoop cluster and what should be installed on the different machine types?
- Why should you consider the typical workload patterns when making your hardware decisions?
- Are all microservers created equal for Hadoop deployments?
- How do I plan for expansion if I require more compute, memory, storage or networking?




1 hour 37 min ago
1 hour 38 min ago
2 hours 23 min ago
3 hours 11 min ago
3 hours 35 min ago
5 hours 12 min ago
5 hours 13 min ago
7 hours 7 min ago
9 hours 56 min ago
15 hours 9 min ago