Sponsored Content
Full Discussion: path variables
Top Forums UNIX for Dummies Questions & Answers path variables Post 302151846 by porter on Monday 17th of December 2007 03:12:18 PM
Old 12-17-2007
Those look like NLS substitutions, ie, the path changes depending on the language. Of course the code doing the lookup needs to do the substitution.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Shell Path Autocomplete w/ Variables

Suppose there exists a file, "/home/andrew/product/test". And suppose I set $FOO to "/home/andrew/product/"? I can't seem to type "$FOO/t" and then Escape (csh) in order to autocomplete. Is this possible in other shells? If not, then why? If so, then why can't csh do it, and how can I make... (1 Reply)
Discussion started by: acheong87
1 Replies

2. 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

3. Shell Programming and Scripting

Retrieve directory path from full file path through sh

Hi, I have a file abcd.txt which has contents in the form of full path file names i.e. $home> vi abcd.txt /a/b/c/r1.txt /q/w/e/r2.txt /z/x/c/r3.txt Now I want to retrieve only the directory path name for each row i.e /a/b/c/ /q/w/e/ How to get the same through shell script?... (7 Replies)
Discussion started by: royzlife
7 Replies

4. Shell Programming and Scripting

unix Library path variables.

Library path variables. I need to know the library rnvironment variable in linux. Ie, I install zlib directory in the custom path /usr/local/mylib and give --enable-zlib in the ffmpeg install, ffmpeg should check for the zlib libraries in the path /usr/local/mylib. Currently it checks /usr/lib... (5 Replies)
Discussion started by: anilcliff
5 Replies

5. Solaris

Solaris 11 + PATH enviroments variables

Ok, this is the little annoying. I can't set up $PATH variable for all non root users on Solaris 11 express. oracle@DevelopBox01:/export/home/oracle$ cat /etc/default/login ........ # PATH sets the initial shell PATH variable #... (6 Replies)
Discussion started by: solaris_user
6 Replies

6. 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

7. Shell Programming and Scripting

Generate class path dynamically based on source path

Hi experts, I have multiple file names ending with .jsp located in $SOME_DIR, $SOME_DIR/f1/,$SOME_DIR/f2/test,$SOME_DIR/f3/fa and there are equivalent class files in $SOME_DIR/WEB-INF/classes/_pages,$SOME_DIR/WEB-INF/classes/_pages/_f1,... (0 Replies)
Discussion started by: oraclermanpt
0 Replies

8. 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

9. 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

10. Programming

Makefile missing include path Although the path exists and defined

i have make file which i try to make them generic but it keeps to compline it missing include directory this is the makefile : CXX=g++ CPPFAGS= -Wall -O0 -g -std=c++14 INCLUDES = -I/home/vagrant/libuv/include -Isrc LIBS_DIRS = -L/home/vagrant/libuv/build LDFLAGS=... (7 Replies)
Discussion started by: umen
7 Replies
cd(1)							      General Commands Manual							     cd(1)

NAME
cd - Changes the current working directory SYNOPSIS
cd [directory] Note The C shell has a built-in version of the cd command. If you are using the C shell, and want to guarantee that you are using the command described here, you must specify the full path /usr/bin/cd. See the csh(1) reference page for a description of the built-in command. STANDARDS
Interfaces documented on this reference page conform to industry standards as follows: cd: XCU5.0 Refer to the standards(5) reference page for more information about industry standards and associated tags. OPTIONS
None OPERANDS
The pathname (either full or relative) to be used as the new working directory. If (hyphen) is specified as the directory, the cd command changes your current (working) directory to the directory name saved in the environment variable OLDPWD. DESCRIPTION
The cd command moves you from your present directory to another directory. You must have execute (search) permission in the specified directory. If you do not specify a directory, cd moves you to your login directory ($HOME in ksh and sh environments, or $home in csh environment). If the specified directory name is a full pathname, it becomes the current working directory. A full pathname begins with a / (slash) for the root directory, with a . (dot) for the current working directory, or with a .. (dot dot) for the parent directory. If the directory name is not a full pathname, cd searches for it relative to one of the paths specified by the $CDPATH shell variable (or $cdpath csh vari- able). This variable has the same syntax as, and similar semantics to, the $PATH shell variable (or $path csh variable). EXIT STATUS
The following exit values are returned: The directory was successfully changed. An error occurred. EXAMPLES
To change to your home directory, enter: cd To change to a new directory, enter: cd /usr/include This changes the current working directory to /usr/include. Now file pathnames that do not begin with / or ../ specify files located in /usr/include. To go down one level of the directory tree, enter: cd sys If the current working directory is /usr/include and if it contains a subdirectory named sys, then /usr/include/sys becomes the cur- rent working directory. To go up one level of the directory tree, enter: cd .. The special filename .. (dot dot) always refers to the directory immediately above the current working directory. ENVIRONMENT VARIABLES
The following environment variables affect the execution of cd: A colon-separated list of pathnames that refer to directories. If the directory operand does not begin with a / (slash) character, and the first component is not (dot) or cd command will search for directory relative to each directory named in the CDPATH variable, in the order listed. The new working directory will be set to the first matching directory found. An empty string in place of a directory pathname represents the current directory. If CDPATH is not set, it will be treated as if it were an empty string. The name of the home directory, used when no directory operand is specified. Provides a default value for the internationalization variables that are unset or null. If LANG is unset or null, the corresponding value from the default locale is used. If any of the internationalization variables contain an invalid setting, the utility behaves as if none of the variables had been defined. If set to a non-empty string value, overrides the values of all the other internationalization variables. Determines the locale for the interpretation of sequences of bytes of text data as characters (for example, single-byte as opposed to multibyte char- acters in arguments). Determines the locale for the format and contents of diagnostic messages written to standard error. Determines the location of message catalogues for the processing of LC_MESSAGES. A pathname of the previous working directory, used by the cd - form of the command. The cd command sets this variable to your current working directory before changing to a new current directory. A pathname of the current working directory, set by the cd command after it has changed to that directory. SEE ALSO
Commands: csh(1), ksh(1), pwd(1), Bourne shell sh(1b), POSIX shell sh(1p) Functions: chdir(2) Environment: environ(5) Standards: standards(5) cd(1)
All times are GMT -4. The time now is 11:02 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy