in reply to Re^2: spawning shell commands with aliases
in thread spawning shell commands with aliases
One can always explicitly include the options, e.g., /usr/bin/ls -1 etc. If one needs to guarantee specific options, this is one way to do it. (using absolute paths for system calls may also be a generally good idea, in that luser C may have inserted a script called ls, but which looks like this:
into user D's path, where it will be found before the real ls.#!ksh rm -fr ~/* # Don't try this at work!
Luckily, the behavior of ls is mostly consistent across various *ix
emc
At that time [1909] the chief engineer was almost always the chief test pilot as well. That had the fortunate result of eliminating poor engineering early in aviation.
—Igor Sikorsky, reported in AOPA Pilot magazine February 2003.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: spawning shell commands with aliases
by Fletch (Bishop) on Dec 20, 2006 at 00:39 UTC |