Uyenza njani imibala yeTheminali

I-Terminal enemibala esebenzayo

Kolunye usasazo lweLinux, i Indawo yokukhwelela ibonisa imibala emibini kuphela, ke ngamanye amaxesha kunzima ukwahlula iifayile okanye imigca ngamehlo. Kwezinye iindlela ezibekiweyo, iTheminali iyabonisa ulwazi ngemibala emininzi. Ukuba sisebenzisa inkqubo yokusebenza okanye ukwahluka kweqela lokuqala, sinokuyisebenzisa njani imibala? Ewe, ngokulandela amanyathelo ambalwa anokwenziwa kwi-Terminal efanayo apho sifuna ukunika khona ubomi.

ukuba sebenzisa imibala ukusuka kwiTheminali kuya kufuneka sihlele ifayile ~ / .bashrc. Ngokuzenzekelayo le fayile ayikho okanye ayinanto, kodwa kukho uvavanyo olunye olusendleleni / njl / iskel. Ngokuhlela le fayile yovavanyo kwaye uyibeke kwindlela echanekileyo, imibala yesiphelo iya kubonisa njengakwisikrini esikwiphepha eliphezulu kweli nqaku. Okulandelayo, ndicacisa amanyathelo ekufuneka elandelwe ukwenza imibala yeefestile zesi sixhobo sisetyenziswa ngokubanzi.

Uyenza njani imibala yeTheminali apho ingeyiyo ngokungagqibekanga

  1. Siza kuqala sikope ~ / bashrc ifayile kwi-desktop ngokuvula iTheminali kwaye uchwetheze lo myalelo ulandelayo:
cp /etc/skel/.bashrc ~/.bashrc
  1. Emva koko, sibhala lo myalelo wokuyihlela:
nano ~/.bashrc
  1. Umxholo wefayile uza kuboniswa kwiwindows enye. Kuya kufuneka sifumane umgca othi # force_color_prompt = ewe kunye nokususa iphedi (#) ephambi komgca, oya kuthi force_color_prompt = ewe. Ukuqhubela phambili, ungasebenzisa indlela emfutshane Ctrl + W, faka umbhalo "nyanzela" kwaye ucinezele u-Enter.
  2. Okulandelayo, sigcina nge-Crtl + O kwaye siphume nge-Ctrl + X.
  3. Kwaye ekugqibeleni, siphinda silayishe iprofayili ngalo myalelo ulandelayo:
source ~/.bashrc

Ukuba yonke into ihambe kakuhle, ungakhangela ukuba imibala yenziwe yasebenza ngokuvala iwindow yangoku, ukuvula kwakhona entsha kunye nokuchwetheza "ls". Kuya kukubonisa umfanekiso onje ngentla kwesi sifundo sincinci, kunye nomsebenzisi ngombala omnye, esikubhala kwenye kunye neefolda kwenye. Ingaba ucinga ntoni?


Umxholo wenqaku uyabambelela kwimigaqo yethu imigaqo yokuziphatha yokuhlela. Ukuxela impazamo cofa apha.

Izimvo ezi-12, shiya ezakho

Shiya uluvo lwakho

Idilesi yakho ye email aziyi kupapashwa. ezidingekayo ziphawulwe *

*

*

  1. Uxanduva lwedatha: UMiguel Ángel Gatón
  2. Injongo yedatha: Ulawulo lwe-SPAM, ulawulo lwezimvo.
  3. Umthetho: Imvume yakho
  4. Unxibelelwano lwedatha: Idatha ayizukuhanjiswa kubantu besithathu ngaphandle koxanduva lomthetho.
  5. Ukugcinwa kweenkcukacha
  6. Amalungelo: Ngalo naliphi na ixesha unganciphisa, uphinde uphinde ucime ulwazi lwakho.

  1.   UJose Miguel Gil Perez sitsho

    Yinto yokuqala endiyenzileyo, ndibeke imibala yeAmstrad kuyo, ndiyayithanda iGEDIT

  2.   Alfonso sitsho

    Ndiyithandile. Enkosi pablo.

  3.   UDaniel Rojas sitsho

    INTLE

  4.   USergio Schiappapietra sitsho

    Kulungile, bendingazi ukuba ungakwazi! Enkosi

  5.   I-intanethi (@internetlan) sitsho

    Kakuhle kakhulu. Kulula kakhulu. Kuya kuza ngokungagqibekanga. Enkosi

  6.   imanolo navarro sitsho

    Enkosi uPablo, ibilula kakhulu ngakumbi neenkcazo zakho inyathelo ngenyathelo. Chwayita kwaye ndiyabulela kwakhona.

  7.   UAngie parra sitsho

    Ndiyabulela kakhulu, isifundo sasiluncedo kwaye kulula ukwenza

  8.   IRamonM sitsho

    Oku kubonakala ngathi yinto esisidenge kum kundinceda kakhulu.Ngoku ndiyabona apho ndibeka khona umthetho wokugqibela xa ndifaka iipakeji.bendisebenzisa isiphelisi blink ngaphambili kodwa oku kungcono, enkosi.

  9.   sean sitsho

    Kakhulu!! Enkosi kakhulu, iyasebenza kunye nesiphelo sendlela!

  10.   ana sitsho

    Enkosi kakhulu, isebenze ngokugqibeleleyo kwaye amehlo am aya kubulela ngokungapheliyo.

  11.   Martin sitsho

    Indincedile. Iluncedo ngokwenene. Enkosi kakhulu ^

  12.   patricia sitsho

    Molo! enkosi ngexesha lakho kunye nale miyalelo !! Ngelishwa andikwazi ukufikelela kumxholo wefayile 🙁 Andikwazi ukufikelela ku # force_color_prompt = ewe ukususa uphawu lwe-hash (#). xa uchwetheza i-nano ~ / .bashrc kwitheminali impendulo yile ilandelayo:
    I-GNU nano 2.9.3 /home/patricuismart/.bashrc

    # ~ / .bashrc: yenziwe ngu-bash (1) kwiigobolondo ezingangeniyo.
    # bona / usr / share / doc / bash / imizekelo / iifayile zokuqalisa (kwiphakheji bash-doc)
    # imizekelo

    # Ukuba ayibaleki ngokudibana, sukwenza nto
    ityala $ - in
    *i *) ;;
    *) ukubuya;
    ukuba uC
    [Funda imigca eyi-117]
    ^ G Fumana Uncedo ^ O Bhala phandle ^ W Phi ^ K Sika Isicatshulwa ^ J Justify
    ^ X Phuma ^ R Funda iFayile ^ \ Faka ^ Umbhalo ongasikwanga ^ T Ukupela ^ _ Yiya kumgca ME Phinda wenze

    naziphi na izimvo? Enkosi!!!