경로,path

1. Linux/Unix shell 에서


리눅스에서 경로 보이는 명령
echo $PATH

각 경로명은 콜론(:)으로 구분되어 있다.

리눅스에서 경로 추가하는 명령
셸,shell에 따라 다르다.
bash에서는,
export PATH=$PATH:/usr/bin
csh/tcsh에서는,
set path = ( $PATH /usr/bin )
은 /usr/bin을 PATH에 추가한다.


pathname =,pathname . pathname - 경로 끝에 file name을 붙인? chk
파일,file > file_name or filename
디렉터리,directory =디렉터리,directory =,directory 디렉터리 directory
{
WtEn:directory
WpSp:Directory
WpEn:Directory

REL. 경로,path(or 패스,path)
파일시스템,filesystem 파일,file

syn. 폴더,folder?

디렉터리 via kornorms.
aka 디렉토리.
디렉터리+directory
}
확장자 extension
basename_명령 : 경로,path와 확장자extension를 제거한 순수 파일 이름만 돌려받는다.


PATH (환경변수명, 환경변수 이름,name 식별자,identifier 중에서 이름이 path인)
환경변수,environment_variable
WpEn:PATH_(variable) ... Unix-like 뿐 아니라 도스,DOS OS/2 Windows 등등... 도 마찬가지.

실행파일을 찾을 순서를 나열한
rel: pathname directory ( current working directory = current directory , )


rpath
"designates the run-time search path { WpEn:Search_path redir to PATH (variable) } hard-coded in an executable file or library. WpEn:Dynamic linking WpEn:loaders use the rpath to find required libraries."(we)




2. graph theory에서 path


// from wpko
path는 정의 상 같은 vertex를 중복해서 거치지 않는다.
vertex를 중복할 수 있다면 트레일,trail이다.
edge도 중복할 수 있다면 워크/보행/.. walk이다.

2.2. shortest path

최단경로,shortest_path - is_a 경로,path
=최단경로,shortest_path =,shortest_path . 최단경로 shortest_path
WtEn:shortest_path ? nnnnnnnnnnnnn
많은 경우 가장 짧은 경로를 찾는 게 주요 문제가 된다. → 최단경로문제,shortest_path_problem


2.2.1. shortest path problem

최단경로문제,shortest_path_problem - is_a 문제,problem
=최단경로문제,shortest_path_problem =,shortest_path_problem . 최단경로문제 shortest_path_problem
{

보통 가중그래프,weighted_graph =가중그래프,weighted_graph =,weighted_graph 가중그래프 weighted_graph { WtEn:weighted_graph https://ko.wikipedia.org/wiki/가중_그래프 ... Ndict:가중그래프 Ggl:가중그래프 } 에서
최단경로,shortest_path, 그 경로(자체)및 그 가장 짧은 경로의 길이(즉 최소,minimum 경로길이,path_length 길이,length)를 찾는, 문제,problem?
내생각임, chk

WtEn:shortest_path_problem ? qqqqqqqqqq

rel 최적화,optimization ... 여기선 가장 짧은 경로 = 최적해,optimal_solution





}

2.3. Cmp:

3. computer arch.에서

data_path = datapath
{
자료경로 ? Ndict:datapath Ndict:data path Ggl:datapath .... 데이터통로 등이 보임
WtEn:data_path

통로,path로 할까?


5. Rel: pathway