Best of Technical Support
I use Red Hat 5.0. When I try to execute files in a current directory, I get a “command not found” error even though the file exists and is executable. What is going on? —A. Roychowdhury
UNIX, like DOS and MS Windows, uses a PATH statement to tell it where to look for files. For security reasons, however, UNIX does not automatically add the current directory to the PATH when you enter a command (unlike DOS or MS Windows). You therefore need to specify the full path name of a command, even when you are in the directory in which the command is located. The easiest way to do that is to use the “dot-slash” notation; assuming you're in the directory where the Netscape executable lives, use:
$ ./netscape
You could add the current directory to your path, but most security experts agree that UNIX's default behaviour is a feature, not a bug, and should be left alone. Having UNIX automatically search the current path leaves you vulnerable to running non-standard versions of executables that could get you into trouble—imagine if someone dumped a program called ls into your current directory that actually mails your password file to someone else. —Vince Waldon, Vince.Waldon@iplenergy.com
I've been using OLL 1.1 for quite a while now without any problem. Lately, screwy things have been happening. One example is su. Whenever I use su to become a superuser from a regular user account, it prompts for the password, but ignores (and displays) whatever I type. It simply doesn't work; I have to CTRL-C out of it. I tried reinstalling to no avail.
Another problem that happens at the same time is with man pages. It displays the first page okay, but will not respond to any key presses except CTRL-C and other breaks. less just doesn't respond. Any help would be appreciated. Thanks. —Eric Benoit, Caldera OpenLinux Lite 1.1
Sounds like some kind of terminal setup problem—you may have changed /etc/termcap or the part of your .bash_profile or .bashrc that establishes the terminal type. Try any or all of the following commands:
% stty sane % reset % export TERM=vt100
—Scott Maxwell, maxwell@pacbell.net
Sometimes when I print from Netscape I get the following pop-up window: lpr: copy file too big. I am using Debian 1.3. How do I fix this? —Rick Bronson
The printer daemon enforces a limit on the size of the file it will print. The limit can be changed in your /etc/printcap by setting the mx value (0 means unlimited). For example:
lp:lp=/dev/lp1:sd=/usr/spool/lpd:mx#10000
Check man printcap for more details. —Alessandro Rubini, rubini@linux.it
I recently installed the Caldera Linux kernel version 1.1 on my IBM ThinkPad 365XD. I want to install the X Window System, but I am not sure if it supports my computer's LCD, which is SVGA, 800x600, 60 Hz. The X configuration tool does not list this kind of LCD as an option. How can I install X? —John Gallagher
First, you should check if your video chip is supported by the latest version of XFree86. You can also check out the Linux Laptop page at http://www.cs.utexas.edu/users/kharker/linux-laptop/.
If your laptop is not supported, you can try commercial X servers such as Xi Graphics (http://www.xig.com/). —Pierre Ficheux, pierre@lectra.com
I am using Red Hat 5.0. I am having trouble getting rsh to work properly with other UNIX machines on my network. I either get “permission denied” or a password prompt. I thought the whole purpose of rsh was to issue commands on a remote system and have the output saved to file or wherever specified. What I am trying to do from my Linux machine is use rsh to connect to a Solaris machine, execute the command df -k, save the output to a file back on my Linux machine and disconnect. I can't seem to find any help in the man pages, so perhaps you could give me syntactical examples that might be of use. I administer both the host machines and the local Linux machines so I can create users, etc., if necessary. Thanks in advance for your help. —Don Kirouac
The Solaris rsh manual page will give you some information about the configuration files (/etc/hosts.equiv and $HOME/.rhosts). Actually, if your Linux machine is listed in the /etc/hosts.equiv or in the $HOME/.rhosts of the Solaris server, it should allow you to use a command such as:
rsh solaris_server df -k > foo
which executes df -k on Solaris and saves the result to the foo file on your SOLARIS home directory. For example:
$ rsh noe df -k > foo $ cat foo Filesystem kbytes used avail capacity Mounted on /dev/dsk/c0t0d0s0 13119 12932 0 100% / /dev/dsk/c0t0d0s6 195447 163746 12161 93% /usr /proc 0 0 0 0% /proc fd 0 0 0 0% /dev/fd /dev/dsk/c0t0d0s3 106047 55527 39920 58% /var swap 2242036 140 2241896 0% /tmp ...
—Pierre Ficheux, pierre@lectra.com
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
Built-in forensics, incident response, and security with Red Hat Enterprise Linux 6
Every security policy provides guidance and requirements for ensuring adequate protection of information and data, as well as high-level technical and administrative security requirements for a system in a given environment. Traditionally, providing security for a system focuses on the confidentiality of the information on it. However, protecting the data integrity and system and data availability is just as important. For example, when processing United States intelligence information, there are three attributes that require protection: confidentiality, integrity, and availability.
Learn more about catching the bad guy in this free white paper.
Sponsored by DLT Solutions
| Designing Electronics with Linux | May 22, 2013 |
| Dynamic DNS—an Object Lesson in Problem Solving | May 21, 2013 |
| Using Salt Stack and Vagrant for Drupal Development | May 20, 2013 |
| Making Linux and Android Get Along (It's Not as Hard as It Sounds) | May 16, 2013 |
| Drupal Is a Framework: Why Everyone Needs to Understand This | May 15, 2013 |
| Home, My Backup Data Center | May 13, 2013 |
- Designing Electronics with Linux
- New Products
- Making Linux and Android Get Along (It's Not as Hard as It Sounds)
- Dynamic DNS—an Object Lesson in Problem Solving
- Using Salt Stack and Vagrant for Drupal Development
- Validate an E-Mail Address with PHP, the Right Way
- Tech Tip: Really Simple HTTP Server with Python
- Build a Skype Server for Your Home Phone System
- Why Python?
- A Topic for Discussion - Open Source Feature-Richness?
- Reply to comment | Linux Journal
45 min 39 sec ago - Not free anymore
4 hours 47 min ago - Great
8 hours 34 min ago - Reply to comment | Linux Journal
8 hours 42 min ago - Understanding the Linux Kernel
10 hours 57 min ago - General
13 hours 27 min ago - Kernel Problem
23 hours 29 min ago - BASH script to log IPs on public web server
1 day 3 hours ago - DynDNS
1 day 7 hours ago - Reply to comment | Linux Journal
1 day 8 hours ago
Enter to Win an Adafruit Pi Cobbler Breakout Kit for Raspberry Pi

It's Raspberry Pi month at Linux Journal. Each week in May, Adafruit will be giving away a Pi-related prize to a lucky, randomly drawn LJ reader. Winners will be announced weekly.
Fill out the fields below to enter to win this week's prize-- a Pi Cobbler Breakout Kit for Raspberry Pi.
Congratulations to our winners so far:
- 5-8-13, Pi Starter Pack: Jack Davis
- 5-15-13, Pi Model B 512MB RAM: Patrick Dunn
- 5-21-13, Prototyping Pi Plate Kit: Philip Kirby
- Next winner announced on 5-27-13!
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?




Comments
error in linux enterprise edition 4.0 while using commands
while using some commands in redhat linux 4.0, commands like ls, df, cat etc i am getting error
this is the error when i type ls with user root
ls: error while loading shared libraries: ÿEj: cannot open shared object file: No such file or directory
for df command i get error as segmentation fault and i get a mail for root /var/mail as follows
[root@oraapp1 mail]# tail root
To: root@oraapp1.dchronicle.com
Subject: Cron /usr/lib/sa/sa1 1 1
X-Cron-Env:
X-Cron-Env:
X-Cron-Env:
X-Cron-Env:
X-Cron-Env:
date: error while loading shared libraries: ÿÄ SjèkóÿÿÄÂRè,ÿÿÿj: cannot open shared object file: No such file or directory
what is the problem.