Sponsored Content
Full Discussion: Help
Operating Systems Linux Help Post 302086722 by BOFH on Saturday 26th of August 2006 09:19:31 PM
Old 08-26-2006
Quote:
Originally Posted by Irish Jimmy
I have Mandriva Linux, and I need help...

What does ./ mean?

as in ./flashplayer-inastaller
Just to give more info Smilie A period is a shortcut for the current directory. Two periods is a shortcut for the parent directory or one directory closer to the root directory (aka /). If you type ls . you'll get a listing of the current directory. If you type ls .., you'll get a listing of your parent directory.

When you run a command such as flashplayer-installer, your shell will prepend each of the colon separated paths located in your PATH environment variable to the beginning of your command.

PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin

/bin/flashplayer-installer
/sbin/flashplayer-installer
/usr/bin/flashplayer-installer
/usr/sbin/flashplayer-installer
/usr/local/bin/flashplayer-installer

So the command won't run because the location where the flashplayer-installer is installed isn't in your path.

Most professional sysadmins don't have period in their path to keep from someone putting a trojaned script with the same name as an available command in a directory you may be currently working in. Although some installations (AIX for example) have period in the path by default.

So if the command isn't in your path, you need to specify it along with the command.

You could type /home/jimmy/flashplayer-installer and the command would run, or you can just use the shortcut for the current directory and type in:

./flashplayer-installer

I try to do the "teach a man to fish" vs "give him a fish" replies Smilie You might pick up Essential System Administration or UNIX System Administration Handbook. They'll be a big help.

Carl
 
libmlib_mt(3LIB)														  libmlib_mt(3LIB)

NAME
libmlib_mt - multi-threaded mediaLib SYNOPSIS
cc [ flag... ] file... -lmlib_mt -lmlib [ library... ] #include <mlib.h> Interfaces in this library provide functions for multimedia processing. Multi-threaded (MT) mediaLib is a software layer developed on top of mediaLib using OpenMP. When it is used with a large data set on a multi-processor system, MT mediaLib will partition data into subsets and process the subsets in parallel, thus greatly improving performance of applications that use mediaLib. INTERFACES
The shared object libmlib_mt.so.2 provides the same public interfaces as those defined in libmlib(3lib). See intro(3) for additional infor- mation on shared object interfaces. There are two ways to use MT mediaLib. 1. Pre-load a multi-threaded mediaLib library during runtime by setting the LD_PRELOAD environment variable as follows before starting your application, in Bourne/Korn shell: LD_PRELOAD=libmlib_mt.so export LD_PRELOAD or in C shell: setenv LD_PRELOAD libmlib_mt.so In this way, you can take advantage of MT mediaLib without rebuilding your application. 2. Link your application with a multi-threaded mediaLib library directly as shown under . In this way, an MT mediaLib library is always used whenever your application is started. The parallelization of MT mediaLib is controlled, in part, by the PARALLEL environment variable. You can change its setting to adjust the degree of parallelization before starting your application, in Bourne/Korn shell: PARALLEL=n export PARALLEL or in C shell: setenv PARALLEL n where n is a positive integer for number of threads. Note that other factors also affect the degree of parallelization in MT mediaLib. /usr/lib/libmlib_mt.so.2 shared object /usr/lib/64/libmlib_mt.so.2 64-bit shared object See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWmlibt | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+ Intro(3), libmlib(3lib), attributes(5) 30 Sep 2005 libmlib_mt(3LIB)
All times are GMT -4. The time now is 04:33 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy