Straight from the horse's mouth – Tieši no zirga mutē -- Apple says Apple saka this of the Terminal: šī Terminal:
“UNIX users will feel at home in Darwin, the robust BSD environment that underlies Mac OS X. That environment is accessible at any time from the Terminal application.” "UNIX lietotājiem justies kā mājās Darwin, spēcīga BSD vidi, kas pamatā Mac OS X, ka vide ir pieejams jebkurā laikā Terminal piemērošanu."
OK – what about non-UNIX users? OK - what about non-UNIX lietotāju?
Background/About the Terminal Background / Par Terminal
Launch Palaist
Customize Customize
Commands Komandas
History/Background Vēsture / Background
Yes, the Terminal is your gateway to the BSD core that is OS X. But what on earth does that mean? Jā, Terminal ir jūsu vārteja uz BSD kodols, kas ir OS X. Bet ko uz zemes, tas nozīmē? Here's the best way I can think of to explain it. Šeit ir labākais veids, kā es domāju, lai izskaidrotu to.
The Finder, that “thing” you use to launch programs and sort/re-name/move/delete files – is really just a graphical version of the Terminal. Finder, ka "lieta" Jūs izmantojat, lai uzsāktu programmu un sort / re-name / pārvietotu / dzēstu failus - ir patiešām tikai grafisko versiju Terminal. The Terminal is a “text” version of the Finder – and a much more powerful one at that. Terminal ir "text" versija Finder - un daudz spēcīgāks vienu pēc tā. When you open programs using the Finder (by double-clicking them) they just open. Atverot programmu, izmantojot meklētājs (ar dubultklikšķi uz tās) viņi vienkārši atvērt. With Terminal, you can launch programs and issue additional parameters – like 'open x program and then have it open a file'. Ar Terminal var sākt programmas un piešķirt papildu parametrus - piemēram, "atklāto x programma, un tad ir to atvērtu failu '.
To be slightly more accurate, the Terminal is actually an interface to a “shell”. Lai būtu nedaudz precīzāk, Terminal faktiski interfeiss "Shell". The default shell on the Mac is named bash . Default apvalks uz Mac ir nosaukta bash. A shell is the program that reads your text, splits the command (launch x program) from the parameters (open a file when x launches) and then executes them. Apvalks ir programma, kas rakstīts jūsu teksta, izirst komandu (sākt x programma) no parametriem (atvērt failu, kad x uzsāk) un pēc tam izpilda tos.
Opening the Terminal is pretty easy. Atver Terminal ir diezgan viegli. Open a Finder window, select Applications, then Utilities, and finally double-click the Terminal. Open Finder logā, izvēlieties Programmas, tad Utilities, un, visbeidzot, veiciet dubultklikšķi uz Terminal.

Yep – that's the Terminal. Yep - that's Terminal. Pretty dull at first sight. Diezgan garlaicīgs no pirmā skatiena.

You may want to make it a bit easier to get to the Terminal in the future. Jūs varētu vēlēties, lai būtu mazliet vieglāk nokļūt Terminal nākotnē. Right-click (or ctrl-click for you one-button mouse folks) and select Keep in Dock . Right-click (vai ctrl klikšķi no jūsu pogu peles ļaudīm) un izvēlieties Keep in Dock. Now it's just one quick click away. Tagad tas ir tikai viens ātri klikšķa attālumā.

Now lets make the Terminal at least a bit more visually appealing. Tagad ļauj veikt Terminal vismaz mazliet vizuāli piesaistošu. Select Terminal and then Window Settings… from the drop-down menu. Izvēlieties termināla un pēc tam Window Settings ... no nolaižamās izvēlnes.

Select the drop-down menu (probably set to Shell by default) and select Display Izvēlieties nolaižamā izvēlne (iespējams, iestatīts Shell pēc noklusējuma) un izvēlieties Rādīt

First select your cursor style. Vispirms izvēlieties kursoru stilu. I prefer Underline, but different strokes for different folks, right? Es gribētu uzsvērt, bet savādās svītras dažādiem ļaudīm, labi? Now click the Set Font… button Tagad noklikšķiniet uz Iestatīt Fonts pogu ...

The Font window should be a familiar one. Font logs būtu jāzina vienu. Select your favorite font, size etc. Close the window when you're done. Select your favorite fonts, izmērs, utt Aizvērt logu kad esat pabeidzis.

Now select Color from the drop down menu Tagad izvēlieties krāsu no nolaižamā izvēlne

Mess around with the color selections and pick one that suits you. Haoss aptuveni ar krāsu izvēli un izvēlēties sev. Choose a background color (if you want). Izvēlēties fona krāsu (ja vēlaties). I very much like to have a transparent Terminal, so give it a try. Es ļoti vēlētos būt pārskatāmi Terminal, tāpēc arī tā pamēģināt. Move the slider over until you're happy with the style. Pārvietot slīdni, līdz jūs esat apmierināts ar stilu.

Finally, select Window from the drop-down menu Beidzot, izvēlieties Window no nolaižamā izvēlne

Here you can specify custom dimensions for your Terminal. Šeit jūs varat norādīt pielāgotu izmēri Jūsu Terminal. Again, try different combinations until you find one you like. Atkal izmēģināt dažādas kombinācijas, kamēr atrodat kādu vēlaties. You can also change the default “name” that appears in the Terminal title menu. Jūs varat arī mainīt default "nosaukums", kas parādās Terminal nosaukumu izvēlnē. I also like to de-select TTY Name and Active Process Name. Es arī gribētu de-izvēlieties TTY Nosaukums un Active procesa nosaukums.
Feel free to check out the other options from the drop-down menu. Jūtieties brīvi apskatīt citus variantus, no nolaižamās izvēlnes. When you're ready, click the Use Settings as Defaults so that each time you open Terminal, it has your new custom look and feel. Kad esat pabeidzis, noklikšķiniet uz Lietot iestatījumus kā noklusējuma, lai katru reizi atverot Terminal, tā ir jūsu jaunu pielāgotu izskatu.


Click to enlarge Click to enlarge
There are a lot of commands. Ir komandu daudz. Far too many to outline here. Pārāk daudz izklāstīt šeit. http://www.ss64.com/bash/ http://www.ss64.com/bash/ has a huge list. ir milzīgs saraksts. Something to keep in mind – Terminal is a bit more unforgiving than Finder. Kaut kas jāpatur prātā - Terminal ir nedaudz vairāk unforgiving nekā Finder. You can accidentally delete, change, and/or otherwise mess things up pretty quickly (esp. if you're playing around with the Jūs varat nejauši dzēst, mainīt un / vai citādi sajaukt lietas pat diezgan strauji (jo īpaši ja jūs spēlē aptuveni ar sudo sudo command). komandu). With that said, once you get used to the Terminal, you'll wonder how you lived without it. Ar to teica, kad jums izmanto Terminal, jūs zināt kā jūs dzīvoja bez tā. An added bonus – once you do get used to using it, you'll find that 'learning' a Linux or Unix based Operating System is much, much easier. Papildu piemaksu - kad jūs pierast, lietojot to, jūs atklāsiet, ka mācīšanās "Linux vai Unix operētājsistēma ir daudz, daudz vieglāk.























Sweet! Mīļš! Thanks, I definitely overlooked these options for setting the window options. Paldies, es noteikti aizmirst šos, nosakot logu izvēles iespējas.