07-24-2001
Yes,
Or they can be placed in your .bashrc, .cshrc, etc. depending on the shell you are using.
Quote:
Originally posted by ober5861
This is slightly off the subject, but is that how you set global variables like PATH, EDITOR, etc.?
As in EDITOR = $EDITOR:/blah/blah
???
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi there!
People, i'm a new unix user, and i'm having some problems...
I'm updating some scripts (korn shell) in different servers. I use telnet to access these servers and emacs to write the scripts. One of them is an HP, and there´s no problem. But the other one is an AIX, and when i call... (1 Reply)
Discussion started by: caiohn
1 Replies
2. UNIX for Dummies Questions & Answers
Hello!
If I have file like that:
AAA
->bbb
->ccc
->ddd
->eee
how to create full paths like:
AAA->bbb
AAA->ccc->ddd
AAA->ccc->eee
?
(I'm sorry for mistakes - english is not my native language) :) (4 Replies)
Discussion started by: alias47
4 Replies
3. UNIX for Advanced & Expert Users
There is a program that I am trying to run on a shell account. It depends on another program, which I have also copied to the shell account. Both are in my home directory, yet the first program has a different path hardcoded into it, which I cannot use because of permissions problems.
How can I... (3 Replies)
Discussion started by: fahadsadah
3 Replies
4. AIX
Have connected a non-IBM storage device to AIX host via fibre channel. If the storage is rebooted or a raid controller fails over whilst connected to the host, the paths that drop do not come back online when the ports become active again.
I have tried enabling dynamic tracking and delayed_fail... (3 Replies)
Discussion started by: Storeman
3 Replies
5. UNIX for Dummies Questions & Answers
Can someone cofirm that I have got the paths correct here? :confused:
$PATH_TO_TMP_DIR='/tmp';
#$PATH_TO_TMP_DIR='home/tmp';
$PATH_TO_YOUR_IMG_DIR = '/temp_images';
#$PATH_TO_YOUR_IMG_DIR = 'home/public_html/Midwich/temp_images';
Thanks (1 Reply)
Discussion started by: stubie
1 Replies
6. What is on Your Mind?
I've read through a couple of forum posts on Career issues but wanted to get some feedback that may be more personalized and whatnot.
I am brand new to the world of UNIX and Linux and while I am finding the learning curve rather steep, I find it highly rewarding and am overall enjoying the... (2 Replies)
Discussion started by: huntreilly25
2 Replies
7. Programming
I wasn't sure which forum to post this in. I am trying to compile logsurfer. After I run configure and the make, I get a complaint that paths.h is not found. I see three places where there is a paths.h:
/usr/include/pgsql/server/optimizer/paths.h... (3 Replies)
Discussion started by: brownwrap
3 Replies
8. UNIX for Dummies Questions & Answers
If I don't explain my issue well enough, I apologize ahead of time, extreme newbie here to scripting.
I'm currently learning scripting from books and have moved on to the text Wicked Cool Shell Scripts by Dave Taylor, but there are still basic concepts that I'm having trouble understanding.
... (10 Replies)
Discussion started by: Chasman78
10 Replies
9. Programming
Right I have a MYSQL database with table1 with 3 columns, colA, colB and colC. I want to combine the data in the 3 columns into a 4th column names col_comb. Here's the SQL command that works:
UPDATE table1 SET `col_comb` = CONCAT( `colA` , ' - ', `colB` , ', ', `colC` );
So now I want this... (5 Replies)
Discussion started by: barrydocks
5 Replies
LDBEDIT(1) User Commands LDBEDIT(1)
NAME
ldbedit - Edit LDB databases using your preferred editor
SYNOPSIS
ldbedit [-?] [--usage] [-s base|one|sub] [-b basedn] [-a] [-e editor] [-H LDB-URL] [expression] [attributes...]
DESCRIPTION
ldbedit is a utility that allows you to edit LDB entries (in tdb files, sqlite files or LDAP servers) using your preferred editor. ldbedit
generates an LDIF file based on your query, allows you to edit the LDIF, and then merges that LDIF back into the LDB backend.
OPTIONS
-?, --help
Show list of available options, and a phrase describing what that option does.
--usage
Show list of available options. This is similar to the help option, however it does not provide any description, and is hence shorter.
-H <ldb-url>
LDB URL to connect to. For a tdb database, this will be of the form tdb://filename. For a LDAP connection over unix domain sockets,
this will be of the form ldapi://socket. For a (potentially remote) LDAP connection over TCP, this will be of the form ldap://hostname.
For an SQLite database, this will be of the form sqlite://filename.
-s one|sub|base
Search scope to use. One-level, subtree or base.
-a, -all
Edit all records. This allows you to apply the same change to a number of records at once. You probably want to combine this with an
expression of the form "objectclass=*".
-e editor, --editor editor
Specify the editor that should be used (overrides the VISUAL and EDITOR environment variables). If this option is not used, and neither
VISUAL nor EDITOR environment variables are set, then the vi editor will be used.
-b basedn
Specify Base Distinguished Name to use.
-v, --verbose
Make ldbedit more verbose about the operations that are being performed. Without this option, ldbedit will only provide a summary
change line.
ENVIRONMENT
LDB_URL
LDB URL to connect to. This can be overridden by using the -H command-line option.)
VISUAL and EDITOR
Environment variables used to determine what editor to use. VISUAL takes precedence over EDITOR, and both are overridden by the -e
command-line option.
VERSION
This man page is correct for version 4.0 of the Samba suite.
SEE ALSO
ldb(7), ldbmodify(1), ldbdel(1), ldif(5), vi(1)
AUTHOR
ldb was written by Andrew Tridgell.
If you wish to report a problem or make a suggestion then please see the : http://ldb.samba.org/ web site for current contact and
maintainer information.
This manpage was written by Jelmer Vernooij and updated by Brad Hards.
Samba 3.5 06/18/2010 LDBEDIT(1)