Sponsored Content
Full Discussion: PATH question
Operating Systems Linux SuSE PATH question Post 302316030 by stansaraczewski on Wednesday 13th of May 2009 11:13:38 PM
Old 05-14-2009
This is the file that the executable is complaining about

-rwxr-xr-x 1 stan users 111229 2009-05-12 09:22 libhercu.so

PWD shows this

/home/stan/usr/local/herc64/hercules-SVN-5345/bin

The library that libhercu.so is in is LIB under hercules-SVN-5345 - is that my problem here ?

Last edited by stansaraczewski; 05-14-2009 at 12:27 AM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Question regarding the PATH

"Never put the current directory (specified by . (period)) in the PATH value specified for the root user. Never allow the current directory to be specified in /etc/profile. The root user should have its own PATH specification in his private .profile file " Infos: Refer:... (1 Reply)
Discussion started by: owange_county
1 Replies

2. UNIX for Dummies Questions & Answers

Question about Restricting Search path of FIND to current directory

Hi, By default FIND command searches for matching files in all the subdirectories within the specified path. Is there a way to restrict FIND command's search path to only the specified directory and NOT TO scan its subdirectories. Any help would be more than appreciated. Thanks and Regards (2 Replies)
Discussion started by: super_duper_guy
2 Replies

3. HP-UX

Question about the hareware path and device name

# ioscan -f | grep disk Class I H/W Path Driver S/W State H/W Type Description disk 3 0/0/2/0.0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-N disk 1 0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 146 GST3146707LC ... (1 Reply)
Discussion started by: bluepluto
1 Replies

4. AIX

stupid question: the path

I'm sorry for my stupid question, but when I log in with one account on my AIX machine, I see: psar3@caixpc24: /home/psar3 > > When I login with another login (pger1), I see: caixpc24 # how can i change that i see the same for pger1 as for psar3??? (it's easy to see with which... (4 Replies)
Discussion started by: Leilah
4 Replies

5. Shell Programming and Scripting

Executing Commands From Non-Standard Path (Changing user's PATH secretely???)

Hi: I have a requirement as below: I have some standard Unix commands modified and kept them in a directory say /usr/clsh/bin. For example I have a script named "ls" kept here which is modified version of "ls" (say it always gives long listing i.e. ls -l). When any user logs on and types... (2 Replies)
Discussion started by: ramesh_samane
2 Replies

6. Shell Programming and Scripting

Question on tweaking the PATH variable to allow the world to run my executable script

All, I am pretty new to Unix and still in the learning curve :) I have a simple requirement for which I did not get an answer yet (Atleast I do not know how to keyword the search for my requirement!!!). I have an executable script my.script1 in a folder /data/misc/scripts/dev, which when... (5 Replies)
Discussion started by: bharath.gct
5 Replies

7. OS X (Apple)

Newbie PATH command question...

Still trying to pick up speed on the command line in OSX. I have installed Apache, and some other server software, but am having problems getting my install of Perl to work. I feel like it's because my Apache install is looking for the base (built-in) Perl that came with OSX which is 5.10. I... (4 Replies)
Discussion started by: Bridger
4 Replies

8. Shell Programming and Scripting

Moving files from parent path to multiple child path using bash in efficient way

Hi All, Can you please provide some pointers to move files from Base path to multiple paths in efficient way.Folder Structure is already created. /Path/AdminUser/User1/1111/Reports/aaa.txt to /Path/User1/1111/Reports/aaa.txt /Path/AdminUser/User1/2222/Reports/bbb.txt to... (6 Replies)
Discussion started by: karthikgv417
6 Replies

9. UNIX for Advanced & Expert Users

Command to see the logical volume path, device mapper path and its corresponding dm device path

Currently I am using this laborious command lvdisplay | awk '/LV Path/ {p=$3} /LV Name/ {n=$3} /VG Name/ {v=$3} /Block device/ {d=$3; sub(".*:", "/dev/dm-", d); printf "%s\t%s\t%s\n", p, "/dev/mapper/"v"-"n, d}' Would like to know if there is any shorter method to get this mapping of... (2 Replies)
Discussion started by: royalibrahim
2 Replies

10. UNIX for Beginners Questions & Answers

Convert Relative path to Absolute path, without changing directory to the file location.

Hello, I am creating a file with all the source folders included in my git branch, when i grep for the used source, i found source included as relative path instead of absolute path, how can convert relative path to absolute path without changing directory to that folder and using readlink -f ? ... (4 Replies)
Discussion started by: Sekhar419
4 Replies
APT-ZIP(8)																APT-ZIP(8)

NAME
apt-zip-list, apt-zip-inst - Use apt with removable media SYNOPSIS
apt-zip-list [ --help ] [ --version ] [ --medium=mountpoint ] [ --aptgetaction=action ] [ --packages=package[,package...] ] [ --fix-broken ] [ --skip-mount ] [ --method=method ] [ --options=opt[,opt...] ] [ --accept=accept[,accept...] | --reject=reject[,reject...] ] apt-zip-inst [ --help ] [ --version ] [ --medium=mountpoint ] [ --aptgetaction=action ] [ --packages=package[,package...] ] [ --fix-broken ] [ --skip-mount ] DESCRIPTION
This manpage should be up-to-date with version 0.17 of the programs. The apt-zip-list and apt-zip-inst commands simplify the upgrade process of a non-networked Debian host using apt(8), by using (preferably high-capacity) removable media, like a ZIP drive. apt-zip-list produces two files. One is a script that can be used on another host (maybe not running a Debian system) to fetch packages previously selected in dselect(8) or indicated in the command line, the other apt-zip.options saves the options used by apt-zip-list to indicate to apt-zip-inst what action to perform and/or which packages to install. Various types of scripts can be generated, by specifying a fetch method supported by the host that will fetch the packages. If you prefer, the script may generate a tarball containing the fetched packages. Note that apt-zip-list can be called as a non-root user. The name of the script (as well as the name of the tarfile when using the tar option) contains the name of the Debian host for which the packages are to be fetched. Thus you can, using the same medium, upgrade several hosts at the same time, provided you have enough space on this disk. This should work with or without the tar option. The script is written to the removable medium, which is mounted if necessary, and then restored to the original unmounted state when appli- cable. It is the responsibility of the user then to run the script on a host that will fetch the packages, and to have them (or the gener- ated archive) copied to the removable medium. When back on your Debian host, you just run apt-zip-inst, which will take care of the script-produced files, and call apt(8) to install the packages on your disk. OPTIONS
COMMON OPTIONS --help, -h Show summary of options. --version, -V Show version of program. --medium, -m Select a removable medium other than the site default. See also --skip-mount. --aptgetaction, -a Select the action done by apt-get. Possible actions are dselect-upgrade,upgrade and dist-upgrade. If --packages is not set the default is dselect-upgrade (See also apt-zip.conf), if it is set none is selected. --packages, -p Comma-separated list of extra packages to install. --fix-broken, -f Run apt-get with the --fix-broken option. See apt-get(8) for more details. --skip-mount, -s Allow specifying a non-mountpoint directory to the --medium option. This may help on laptops only getting point-to-point networking without being routed to. This is also useful while testing the program, as it allows sending the script into /tmp. --use-sleep=SEC, -S Introduces waiting times between downloaded files. Allows the genearation of a fetch script that will wait some time (config- urable). The number parameter represents the delay between consecutive dowloads. Note that this option is safe: even if the con- nected machine does not have a wait command, the script will not fail. --no-checksum, --no-md5, -5 This option will command to apt-zip-list to create a script which does not make any sha256sum checks. Note that if this option is not given at script generation time, the sha256sum command will be called only after it has been found in the system. (--no-md5 is maintained for script compatibility, but there is only sha256) OPTIONS FOR APT-ZIP-LIST --method, -M Select a method other than the default one. The wget and wget-dos methods are currently supported. --options, -o Specifies a set of options to be used while generating the script. A warning is issued only if an option is unkown to apt-zip-list, but all known options may not be supported by all methods. Options may be given a value, with the option=value syntax. Currently available options include: tar[=gnutarprogram] causes the dowloaded files to be grouped into a tarball. The name of a tar program on the download machine can be specified, if different from tar. Example: tar=gtar. When used in conjunction with the restart option, a GNU tar must be specified, so that 2 tarballs man be concatenated - this is only needed on the 3rd and subsequent runs of the fetch script. restart causes the downloaded files to be grouped into a tarball. --accept , -A / --reject , -R Comma-separated list of accepted/rejected protocols for download. By default are only accepted http and ftp. CONFIG FILE
The /etc/apt/apt-zip.conf file can be used to set defaults: method, removable medium, options, apt-get action and accepted/rejected proto- cols. It is a self-explainatory bourne-shell script snippet. It allows to provide site defaults for command-line options. METHOD API
A method is handled by an executable object (usually a script) placed in the /usr/share/apt-zip/methods/ directory. This executable is fed on standard input with the output of apt-get --print-uris. It is communicated the state of requested options using for each option an environment variables named OPTION_OPTNAME, where OPTNAME is the uppercased name of an option. Additional environment variables are also set, such as APTZIPVERSION, APTZIPTARFILE, APTZIPINSFILE, and OPTIONS. LIMITATIONS
o Only one disk can be used. If your packages do not fit on one, you have to deselect some packages using dselect(8) or you have to select a suitable list of package. o The files on an Internet distribution site can change rather frequently. It is up to the user to make sure the site was not updated between the build of the fetch script by apt-zip-list and the fetch itself, otherwise some required files may not be possible to fetch. FILES
/etc/apt/apt-zip.conf /usr/share/apt-zip/methods/ BUGS
o The restart feature is really slow. The tar command on Solaris(tm) has an option to seek in the file instead of assuming a non-seekable device, which greatly improves performance. GNU tar does not seem to be able to do that. o Virtually no error-checking is done. Examples of such error conditions include: - out-of-diskspace on both the removable medium and in apt archive cache when using tar option. o Somewhat consequently, error-recovery also nears non-existence. As examples, an interrupted fetch in tar mode has to be restarted from zero; changes in status file between runs of apt-zip-list and apt-zip-inst are not detected and may lead to failure. AUTHOR
The programs were written by YannDirson <dirson@debian.org>. It was maintained previously by SantiBejar <tiarda@yahoo.es>, and currently maintained by GiacomoCatenazzi <cate@debian.org> for the Debian GNU/Linux system. The source for this reference page is an SGML file, which can be converted to UNIX manpages using docbook2man(1) SEE ALSO
apt(8), apt-get(8), dselect(8). Debian GNU/Linux 01 February 2008 APT-ZIP(8)
All times are GMT -4. The time now is 08:03 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy