New answers tagged environment-variables
0
votes
Trivial pursuit : bash environment variables
Yes, see my answer on StackOverflow. Adapted for your situation, it would be the following:
FNAME="${LD_PRELOAD//@(*\/|.*)}"
Do note that LD_PRELOAD can contain multiple paths separated by :...
Top 50 recent answers are included
Related Tags
environment-variables × 1025bash × 354
command-line × 299
scripts × 108
java × 95
bashrc × 77
paths × 71
.profile × 37
python × 34
sudo × 34
14.04 × 32
jdk × 28
software-installation × 22
16.04 × 21
ssh × 20
openjdk × 20
12.04 × 19
18.04 × 19
environment × 18
android × 16
permissions × 14
configuration × 14
server × 13
login × 13
gnome-terminal × 12