Cov txheej txheem:

ETC ib puag ncig cov ntaub ntawv yog dab tsi?
ETC ib puag ncig cov ntaub ntawv yog dab tsi?

Video: ETC ib puag ncig cov ntaub ntawv yog dab tsi?

Video: ETC ib puag ncig cov ntaub ntawv yog dab tsi?
Video: Leng Yang - Yog Vim Dab Tsi (Official Full Song | Nkauj Tawm Tshiab) 2020/05/24 2024, Hlis ntuj nqeg
Anonim

/ lwm / ib puag ncig cov ntaub ntawv . Thawj ntaub ntawv uas lub operating system siv lub sij hawm nkag mus yog lub / lwm / ib puag ncig cov ntaub ntawv . Cov / lwm / ib puag ncig cov ntaub ntawv muaj sib txawv qhia qhov yooj yim ib puag ncig rau tag nrho cov txheej txheem. Txhua lub npe txhais los ntawm ib qho ntawm cov hlua yog hu ua ib ib puag ncig variable los yog plhaub variable.

Kuj paub yog, koj yuav qhib ETC ib puag ncig li cas?

rau qhib lub / lwm / ib puag ncig cov ntawv nyeem hauv Gedit text editor. Koj yuav tsum ntxiv cov lus txib sudo vim tias cov ntaub ntawv no yog los ntawm tus neeg siv hauv paus. Txuag thiab kaw cov ntaub ntawv. Pib dua lub computer kom pib qhov hloov pauv tshiab PATH.

ETC profile yog dab tsi? / lwm / profile muaj Linux system thoob plaws ib puag ncig thiab kev pib ua haujlwm. Nws yog siv los ntawm txhua tus neeg siv nrog bash, ksh, sh plhaub. Feem ntau siv los teeb tsa PATH sib txawv, cov neeg siv txwv, thiab lwm qhov chaw rau cov neeg siv. Nws tsuas yog khiav rau login plhaub.

Tsis tas li ntawd, nyob qhov twg cov hloov pauv ib puag ncig khaws cia?

Cov neeg siv qib Environment variables feem ntau yog khaws cia hauv. bashrc thiab. cov ntaub ntawv profile hauv koj lub Tsev nplaub tshev. Cov kev hloov ntawm no tsuas yog cuam tshuam rau tus neeg siv.

Dab tsi yog qhov hloov pauv ib puag ncig hauv Linux?

Hauv qab no yog qee qhov kev hloov pauv ib puag ncig feem ntau:

  • USER - Tus neeg siv tam sim no nkag rau hauv.
  • HOME - Cov npe hauv tsev ntawm cov neeg siv tam sim no.
  • EDITOR - Lub neej ntawd cov ntaub ntawv kho kom raug siv.
  • SHELL - Txoj kev ntawm cov neeg siv tam sim no lub plhaub, xws li bash lossis zsh.
  • LOGNAME - Lub npe ntawm tus neeg siv tam sim no.

Pom zoo: