10-09-2000
If you want to create links, there are numerous ways to do it. For example:
If your original perl distribution is at:
/usr/local/lib/perl
and you want to link it to /usr/local/perl
just do this:
ln -sf /usr/local/lib/perl /usr/local/perl
(note that /usr/local/perl SHOULD NOT EXIST before
the command above).
This will create a symbolic link from /usr/local/lib/perl
(a directory) to the /usr/local/perl directory
You can also use symbolic links on individual files.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi!
I want to write a script that will create an archive (via tar) that will restrict the size of the tar file. The size can be constrained using the keyword 'k' and providing the size restriction. The problem is that the script needs to know (detect) when the tar command prompts the user (which... (2 Replies)
Discussion started by: mitch8
2 Replies
2. Shell Programming and Scripting
Dear Friends,
I have a flat file from which I want to grep line no. 7,10, 19 to 35, 37.
How can it be done?
Thank you in advance
Anushree (6 Replies)
Discussion started by: anushree.a
6 Replies
3. Shell Programming and Scripting
Hello,
Question is related to Perl:
I need to search few of the files from the array of file names.
And after grepping the file names from an array I need to link these files to original location. The original location in this case is ref_path as input from the user.
##$ref_path is... (3 Replies)
Discussion started by: aarora1
3 Replies
4. Shell Programming and Scripting
I'm really new to even doing a bash "hello world" script, so maybe someone would know how to do the following task, using bash scripting
Need to login using ssh from one dell server into another dell server, and obtain the raid battery status, using dell's open manage software commands; then... (5 Replies)
Discussion started by: AJ-102111
5 Replies
5. Shell Programming and Scripting
Hello, All. This is my first post here, and I expect that the answer is simple, but I can't find it. Might be the way I'm searching. I'm fairly new to Unix/Linux, and I'm writing a Korn Shell Script. I am trying to provide a value that is already in a variable to awk so that awk can pull out the... (3 Replies)
Discussion started by: compguy74
3 Replies
6. Programming
Hello All,
I've encountered a strange behaviour from g++ that doesn't make sense to me. Maybe you can shed some light on it:
I have a bunch of source files and want to compile them and link them with a static library liba.a located in /usr/local/lib64 into an executable
Approach 1 works... (0 Replies)
Discussion started by: magelord
0 Replies
7. UNIX for Advanced & Expert Users
hello,
is it a behavior of or
that "-i" removes unix link .
example :
i create a file "src_file" and link it to "link_file" and then i start "perl -i"
the link is removed. does another option exists to change content of a file without temporary files ?
UNIX-Version: HP-UX and... (2 Replies)
Discussion started by: bora99
2 Replies
8. Shell Programming and Scripting
Morning Guys,
I am attempting to awk a file which strings in the file is only 6 characters long and not more.
Currently it is counting every line and giving a count of 59, but it should be 57 (not including the long baracode - 004705CIM*****)
" awk '/./ {cnt++} END {print cnt}'... (11 Replies)
Discussion started by: Junes
11 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I am thinking to increase my knowledge towards shell scripting and tcl scripting.
The thing is, please suggest me a script which i can code is useful in learning as well as to project it to my team mates and it is helpful to all my office team mates.
I'll give you an idea of what we... (4 Replies)
Discussion started by: Syed Imran
4 Replies
LEARN ABOUT FREEBSD
man.conf
MAN.CONF(5) BSD File Formats Manual MAN.CONF(5)
NAME
man.conf -- man(1) and manpath(1) configuration files
DESCRIPTION
The man.conf file is used to configure the manual search path, locales, and utility set for man(1) and its related utilities. During ini-
tialization, man(1) reads the configuration files located at /usr/local/etc/man.d/*.conf and /etc/man.conf.
The files contained in /usr/local/etc/man.d/*.conf are intended to be used by the ports(7) system for extending the manual set to support
additional paths and locales. /etc/man.conf is intended to be used by the local administrator to set additional policy.
Currently supported configuration variables include:
MANCONFIG Overrides the default location to import additional manual configuration files. Defaults to /usr/local/etc/man.d/*.conf.
MANPATH Adds the specified directory to the manual search path.
MANLOCALE Indicates support is available for the given locale.
For pages in a given language, overriding the default toolset for display is supported via the following definitions:
EQN_LANG
NROFF_LANG
PIC_LANG
TBL_LANG
TROFF_LANG
REFER_LANG
VGRIND_LANG
See the EXAMPLES section for how to use these variables.
IMPLEMENTATION NOTES
The parser used for this utility is very basic and only supports comment characters (#) at the beginning of a line.
FILES
/etc/man.conf System configuration file.
/usr/local/etc/man.d/*.conf Local configuration files.
EXAMPLES
A perl port that needs to install additional manual pages outside of the default location could install a file in
/usr/local/etc/man.d/perl.conf with the following contents:
# Add perl man pages to search path
MANPATH /usr/local/lib/perl5/5.8.9/man
MANPATH /usr/local/lib/perl5/5.8.9/perl/man
A Japanese localization port could install a custom toolset and include a file in /usr/local/etc/man.d/ja-man-doc.conf with the following
contents:
# Setup Japanese toolset
MANLOCALE ja_JP.eucJP
EQN_JA /usr/local/bin/geqn
PIC_JA /usr/local/bin/gpic
TBL_JA /usr/local/bin/gtbl
NROFF_JA /usr/local/bin/groff -man -dlang=ja_JP.eucJP
TROFF_JA /usr/local/bin/groff -man -dlang=ja_JP.euc.jp
If the system administrator decides to override the LOCALBASE make(1) variable causing all ports(7) to be installed into /opt instead of
/usr/local, specifying the following in /etc/man.conf will accommodate this change:
# Look for additional configuration files
MANCONFIG /opt/etc/man.d/*.conf
SEE ALSO
apropos(1), man(1), manpath(1), whatis(1)
BSD
June 3, 2011 BSD