728x90
📍 [pha:/home/custom/test_dir/link_data] ln -s /home/custom/org_data ./
- 원본이 있는 진짜 디렉토리 : /home/custom/org_data
- 바로가기로 연결한 디렉토리 : /home/custom/test_dir/link_data
/home/custom/test_dir/link_data
이 위치에서 명령어 ll 치면
이런식으로,, 이 디렉토리가 어디랑 연결되어 있는 지 보여줌!
lrwxrwxrwx 1 admin admin 29 10월 26 17:25 org_data -> /home/custom/org_data
바로가기를 생성하면, 연결하려고 하는 폴더명이 생김!
저. /home/custom/test_dir/link_data/org_data
안에 들어가면
/home/custom/org_data
이 디렉토리 안에 있는 것들이 보이게 됨!
출처 :
https://it-misfit.tistory.com/9
https://blog.naver.com/supvr/10108822191
https://wickedmagica.tistory.com/130
개발 공부를 위한 블로그 입니다.
오류가 있다면 댓글로 알려주세요!
감사합니다.

728x90
'서버 관련 > Linux' 카테고리의 다른 글
[linux] 압축파일로 생성 & 압축 풀기 (0) | 2024.08.09 |
---|---|
[Linux] sqlplus 에서 쿼리 날려보자. (0) | 2023.09.18 |
[Linux] .sh 실행 파일 돌리기. (0) | 2023.09.18 |
[Linux] 나의 리눅스 공부 기록장 (0) | 2023.08.04 |