06-06-2006
How to set path for the EDITOR variable?
For some reason something has changing in my AIX environment where when I type:
ACLEDIT filename
...I get:
3002-104 acledit: EDITOR environment variable must be full pathname
I know I need to reset the EDITOR variables path to /usr/bin/vi but I can't remember the syntax anyone?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I set my path environment variable in c shell, using the
syntax below
setenv PATH "${PATH}:/usr/local:/usr/local/bin"
and placed this in $HOME/.login
$HOME/.cshrc
and /etc/.login
/etc/.cshrc
but when I issued echo $PATH or set command
the output does not reflect changes made to... (5 Replies)
Discussion started by: hassan2
5 Replies
2. UNIX for Advanced & Expert Users
Hi,
How does the PATH and MANPATH environment variable get set?
I want to add "/opt/SUNWspro/bin" to the search path for all the users. Where can I access this variable.
I know in my home directory, depend on which shell I use, there are files such as .profile and .cshrc which I can edit to... (3 Replies)
Discussion started by: vtran4270
3 Replies
3. UNIX for Dummies Questions & Answers
Hi,
i know that this topic discussed for many times but although i had researched them i couldnt succeed in my problem.
i am following a step-by-step instruction guide and must do the following:
-------------
To ensure access, set the path PATH $ORACLE_HOME/perl/bin:$PATH and set the Perl... (2 Replies)
Discussion started by: merope
2 Replies
4. UNIX for Dummies Questions & Answers
I've noted that in order to use commands like ifconfig, I have to prefix the commands with the directory.
/etc/profile shows that the paths should be part of the PATH environment variable; any idea where the bug is?
:confused:
# /etc/profile
# System wide environment and startup... (1 Reply)
Discussion started by: jon80
1 Replies
5. Shell Programming and Scripting
Hello All,
Hope you can understand my problem from the below code.
$ cat ~/.profile
PS1=`whoami`@`hostname`':$PWD
$ '
export PATH="$PATH:.:/logarchive/utility/util:/usr/sbin:"
$ echo $PATH
/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:.:/usr/sbin:
$ echo $SHELL
/usr/bin/ksh
... (6 Replies)
Discussion started by: sathyaonnuix
6 Replies
6. Shell Programming and Scripting
I am looking to parse a text file output and set variables based on what is cropped from the parsing.
Below is my script I am looking to add this feature too.
All it does is scan a certain area of users directories for anyone using up more than X amount of disk space. It then writes to the... (4 Replies)
Discussion started by: es760
4 Replies
7. HP-UX
Hello friends,
I need to set PATH variable for all HP-UX users. I tried to implement it using /etc/profile and /etc/sshrc both none of them work.
I don't see sshrc file anywhere.
Please advise!
TIA (4 Replies)
Discussion started by: prvnrk
4 Replies
8. Shell Programming and Scripting
Can anyone suggest a workaround
zone_5.org='/qaz/qwe/path/tns.osn'
output
/home/bingo/XXX_script.sh: line 180: zone_5.org=/qaz/qwe/path/tns.osn: no parent
The path does not exist on the local machine, the allocation used to work till the server was upgraded.
Red Hat Enterprise Linux... (2 Replies)
Discussion started by: squrcles
2 Replies
9. Shell Programming and Scripting
Greetings Experts,
I need to pass a parameter to ksh and the value is windows path eg: sh abc.txt C:\Users\chill3chee\Desktop
No matter I try with \ delimiter, still could not get this exact value assigned to the shell variable which was checked with echo. Tried with using... (2 Replies)
Discussion started by: chill3chee
2 Replies
10. Shell Programming and Scripting
Hi Folks -
I was wondering if you could help convert batch code in Linux? For instance, I use the following piece of code in DOS to find a file/executable, and then the FULL path as a variable.
::-- If startMaxl.exe exists, set full path --::
for %%D in (c d e f g h i j k l m n o p q r s t... (4 Replies)
Discussion started by: SIMMS7400
4 Replies
LEARN ABOUT DEBIAN
ldbedit
LDBEDIT(1) [FIXME: manual] 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(3), ldbmodify(1), ldbdel(1), ldif(5), vi(1)
AUTHOR
ldb was written by Andrew Tridgell[1].
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.
NOTES
1. Andrew Tridgell
http://samba.org/~tridge/
[FIXME: source] 04/19/2012 LDBEDIT(1)