Best of Technical Support
I was reading the BTS column in the April issue, and noticed that for the “Wrong Date” question from Bilal Iqbal, you edited my answer, changing the meaning. In fact, you reversed the arguments to the ln command. The link should be
ln -sf /usr/share/zoneinfo/US/Pacific \ /etc/localtime
and the -f option is most likely needed, since most systems already have a link there. Also, I said “a link like this”, not “create this link”, since the reader specified his timezone was GMT+5, so telling him to create a link setting his timezone to GMT-8 isn't exactly what he would want to do. —Marc Merlin, email@example.com
I am using a Zip drive with Red Hat 5.2 and cannot use my printer because the Zip drive is a parallel port version. The printer manager does not recognize the printer is connected. I was able to use the printer before the Zip drive was installed. Is it possible to use both the zip and the printer? I know I cannot use it while my zip is mounted, but when I unmount the drive, would it be possible? —Smileyq, firstname.lastname@example.org
Rebuild the kernel, defining lp and zip support as modules. When you wish to use the printer, unload the zip module (if loaded) and load the lp module, so you can use the printer. When you wish to use the zip drive, unload the lp module (if loaded) and load the zip module. That's it. —Paulo Wollny, email@example.com
According to the Zip Drive mini HOWTO, question 7.1 (metalab.unc.edu/LDP/HOWTO/mini/ZIP-Drive-7.html#ss7.1), it should be possible. You will need a newer kernel (2.2.x) or you'll need to upgrade the ppa driver in your current kernel source and recompile it. Since RH 5.2 isn't fully compatible with the 2.2.x kernels, you may be better off recompiling your current kernel, and you can find the ppa driver on David Campbell's page: http://www.torque.net/~campbell/. —Marc Merlin, firstname.lastname@example.org
I just got Linux about a month ago (Red Hat 5.2) and have been experimenting with it. Last night I accidentally ran mkfs.msdos on my Windows 98 FAT32 partition (/dev/hda1) thinking it was a command to mount an MS-DOS partition under Linux, but of course, it nuked my drive, created an MS-DOS partition over it, and I lost everything on my drive! I am writing to you in hopes that you know of a way that I can salvage the information still on my drive. The mkfs.msdos command erases only the FAT sector when it creates a new file system, right? So, shouldn't all the information still be there? Thank you in advance for any assistance. —Jon Verville, email@example.com
That's a rough accident. The short answer is there's little you can do. Yes, the information is still there, but the FAT tables tell the system where to look for different pieces of a file, and if your file system is fragmented, it could be very difficult to recover anything.
However, it would be worth trying a few recovery tools, such as Norton's Disk Doctor if only to salvage some of your data before you reinstall Windows. You may be able to save something from your disk if you touch —Chad Robinson, firstname.lastname@example.org
Normally, I am an IRIX user. Recently, I bought a dual-Pentium machine and installed Linux SuSE 5.3. on it. I can't figure out if my second processor is recognized; there seems to be no command like hinv in IRIX. Any suggestions? Is there any document comparing IRIX and Linux commands? —Tobias Knaute, email@example.com
First, you have to make sure your kernel is compiled with SMP support; this is not the default for most distributions. Then check your /proc/cpuinfo file which contains the information for all CPUs found during boot time.
In order to take full advantage of your dual processor machine, I'd suggest you use the 2.2.4 kernel version, which is the latest at this time. —Mario Bittencourt, firstname.lastname@example.org
I installed xeyes in the KDE menu and while trying to remove it, it multiplied. Is there any way to close it? It has no resize window and every method of stopping or interrupting doesn't prevent it from returning on bootup. I have searched the man pages for a key combination to kill them to no avail —Edward Spadacene, email@example.com
You can close xeyes by clicking the right mouse button on it and choosing “Close” from the pop-up menu that appears. Next time you start KDE, xeyes will not be run. —Scott Maxwell, firstname.lastname@example.org
Practical Task Scheduling Deployment
July 20, 2016 12:00 pm CDT
One of the best things about the UNIX environment (aside from being stable and efficient) is the vast array of software tools available to help you do your job. Traditionally, a UNIX tool does only one thing, but does that one thing very well. For example, grep is very easy to use and can search vast amounts of data quickly. The find tool can find a particular file or files based on all kinds of criteria. It's pretty easy to string these tools together to build even more powerful tools, such as a tool that finds all of the .log files in the /home directory and searches each one for a particular entry. This erector-set mentality allows UNIX system administrators to seem to always have the right tool for the job.
Cron traditionally has been considered another such a tool for job scheduling, but is it enough? This webinar considers that very question. The first part builds on a previous Geek Guide, Beyond Cron, and briefly describes how to know when it might be time to consider upgrading your job scheduling infrastructure. The second part presents an actual planning and implementation framework.
Join Linux Journal's Mike Diehl and Pat Cameron of Help Systems.
Free to Linux Journal readers.Register Now!
- SUSE LLC's SUSE Manager
- My +1 Sword of Productivity
- Murat Yener and Onur Dundar's Expert Android Studio (Wrox)
- Non-Linux FOSS: Caffeine!
- Managing Linux Using Puppet
- Doing for User Space What We Did for Kernel Space
- Tech Tip: Really Simple HTTP Server with Python
- SuperTuxKart 0.9.2 Released
- Rogue Wave Software's Zend Server
- Parsing an RSS News Feed with a Bash Script
With all the industry talk about the benefits of Linux on Power and all the performance advantages offered by its open architecture, you may be considering a move in that direction. If you are thinking about analytics, big data and cloud computing, you would be right to evaluate Power. The idea of using commodity x86 hardware and replacing it every three years is an outdated cost model. It doesn’t consider the total cost of ownership, and it doesn’t consider the advantage of real processing power, high-availability and multithreading like a demon.
This ebook takes a look at some of the practical applications of the Linux on Power platform and ways you might bring all the performance power of this open architecture to bear for your organization. There are no smoke and mirrors here—just hard, cold, empirical evidence provided by independent sources. I also consider some innovative ways Linux on Power will be used in the future.Get the Guide