|
|
|
|
UGU: Unix Guru Universe - Unix Tip #4146- June 18, 2012
- Home : Help
: Today's Tip
Unix Tip #4146- June 18, 2012
SPEED UP INTERACTION TIME
One way to speed up the interaction time of
a shell (that does not hash its commands)
that you may overlook is to modify your path.
The order of the directories in your path
should rely on the number of commands you use
most. So /usr/bin or /bin would probably be first.
Very large directorys that are mounted over
the network should be later in the list. If
there are some directories in your path you only
use for one or two commands consider making an
alias or shell script (if your shell doesn't
support aliases) which calls the program with its
full path name.
Watch out when sourcing files, especially when
your root. It could modify your path and make
you run something detrimental to your system.
Getting into the habit of using full pathnames
is the key here.
This tip generously supported by: kevin@ti.com
NOTE: All tips provided are USE AT YOUR OWN RISK. Tips are submitted
by various unix admins around the globe. UGU suggest you read and
test each tip in a non-volitile environment before placing into
production.
LAST 5 TIPS
4145
- AWK QUICK COLUMNS
4144
- MONITORING ROOT IN THE PASSWORD FILE
4143
- CREATE YOUR OWN GROUP ALIASES
4142
- KILL X
4141
- ALTERNATIVE TO CP
I want to
SUBSCRIBE
and get a UGU Tip everyday.
I want to
UNSUBSCRIBE
and NOT get a UGU Tip everyday.
If you have a UNIX TIP let us know, we just may use it:
(All tips become the property of the Unix Guru Universe)
|
|
|
Copyright 1994-2024 Unix Guru Universe |
|
|
|
|