리눅스 환경변수란?
리눅스 환경변수는 시스템이나 사용자 환경에서 프로세스가 실행될 때 사용되는 변수들을 말합니다. 이러한 변수들은 프로그램이 실행될 때 프로세스에게 정보를 제공하거나 설정값을 제어하는데 사용됩니다. 환경변수는 텍스트 형태로 저장되며, 대소문자를 구분합니다. 대부분의 리눅스 시스템은 셸(shell) 환경에서 이러한 환경변수들을 관리하며, 이러한 환경변수들은 시스템 전체에서 공유될 수 있습니다.
리눅스 주요 환경변수
환경변수 | 의미 및 용도 |
---|---|
PATH | 프로그램 실행 파일들이 위치한 디렉토리의 리스트 |
HOME | 현재 사용자의 홈 디렉토리 경로 |
USER/LOGNAME | 현재 로그인한 사용자의 이름 |
SHELL | 현재 사용 중인 쉘의 경로 |
PWD | 현재 작업 디렉토리의 경로 |
LANG/LC_ALL | 시스템의 언어 설정 |
TERM | 터미널 타입 |
DISPLAY | 그래픽 디스플레이 서버 주소 |
EDITOR/VISUAL | 텍스트 편집기의 경로 |
PS1 | 기본 프롬프트 모양 |
PS2 | 다중 라인 입력시의 프롬프트 모양 |
TMPDIR/TEMP | 임시 파일 저장 디렉토리 경로 |
LD_LIBRARY_PATH | 동적 라이브러리 경로 |
LC_CTYPE | 문자 인코딩 및 형식 설정 |
hey there and thank you for your info – I’ve definitely picked up anything new from right here.
I did however expertise a few technical issues using this site, as I experienced to reload the website many times previous to I could get it to
load correctly. I had been wondering if your web host is OK?
Not that I am complaining, but slow loading instances times will sometimes affect your placement in google and could damage your high quality score if advertising and marketing with Adwords.
Well I am adding this RSS to my e-mail and
could look out for a lot more of your respective fascinating content.
Make sure you update this again soon.. Escape rooms
I’m so glad to hear that you’ve been helped.
We will continue to push for and improve the improvements you mentioned.
Thank you.