http___homemac.ru_hr_programmy_iterm-_d0_bf_d0_be_d0_b6_d0_b0_d0_bb_d1_83_d0_b9-_d0_bb_d1_83_d1_87_d1_88_d0_b8_d0_b9-_d1_82_d0_b5_d1_80_d0_bc_d0_b8_d0_bd_d0_b0_d0_bb-_d0_b4_d0_bb_d1_8f-mac-os-x.html_1.xml
1.1 2.1 2.2 2.3 3.1 3.2 3.3 4.1 4.2 4.3 5.1 5.2 5.3 6.1 7.1 7.2 8.1 9.1 10.1 11.1
iTerm – perhaps, the best terminal for Mac OS X General, ordinary human, possibly, may be surprised by the fact, that in addition to a beautiful shell, Mac OS X owns an invisible core. Darwin kernel, BSD-like system. Part of the Mac OS X “grown from” The FreeBSD, giving the system stability, universality (a client and a server version of Mac OS X, and also – home computer turned into an elementary small web server, even without the use of programs like MAMP). So, if you have an adventurous streak (or a few drops of adventurism in the blood), you can go to study UNIX-component of your system. If your familiarity with the command line is only, copying a couple of pre-defined commands from the webpage, inserting them into the window and forget – perhaps, you can skip reading this article. If, of course, do not want to change it. In a series of articles, which I will from time to time to continue, I will talk about, how to turn the command line in Mac OS X tools, with which the pleasure to address. Let's start with the installation of the terminal emulator iTerm. Not depressed you unnecessary details, I will only, that the terminals in the world called the program to display the command line In the first place, command line is useful for automation. Yes, in Mac OS has its own AppleScript, which can be used to automate many actions. But, use it, perhaps, even fewer users, than those, who are familiar with the mysteries of the command line. So, command line in Mac OS X “default” looks: Illuminated in red the first tab – as it tells us, that apparently, something happened: there is a new text. And in the current tab shows the result of a few simple commands: - ls – shows a list of files (no of arguments – in the current directory) - echo “Hello world” – displays the line Hello world - open Downloads/Growl-1.2.1.dmg – opens with Finder file Downloads/Growl-1.2.1.dmg Perhaps, for the first time in more than enough
1.1 2.1 2.2 2.3 3.1 3.2 3.3 4.1 4.2 4.3 5.1 5.2 5.3 6.1 7.1 7.2 8.1 9.1 10.1 11.1
iTerm – možda, najbolji terminal za Mac OS X Opći, obični laik, može, iznenadila činjenica, da uz prekrasne školjke, u Mac OS X su nevidljivi jezgra. Darwin kernel, BSD-like sustav. Dio Mac OS X “dogodila” FreeBSD, davanje stabilnosti sustava, univerzalnost (klijenta i poslužitelja verzije Mac OS X, i – kuće računalo uključeno u osnovnu mali web poslužitelj, čak i bez korištenja programa kao što su MAMP). Tako, ako imate avanturističkog žičica (ili nekoliko kapi avanturizam u krvi), možete otići na studij UNIX-komponenta vašeg sustava. Ako je Vaš upoznatost s komandne linije je samo, Da biste kopirali web stranicu par timova, umetnuta u prozor i zaboraviti – možda, Možete preskočiti čitanje ovaj članak. Ako, tečaj, ne želim to promijeniti. U nizu članaka, što ću s vremena na vrijeme za nastavak, Ja ću govoriti o, kako pretvoriti naredbeni redak u Mac OS X alati, s kojim je zadovoljstvo obratiti. Počnimo s instalacijom za oponašanje terminala iTerm. Nije depresivan vam nepotrebne pojedinosti, Samo ću, da terminala u svijetu se zove program za prikaz naredbeni redak Na prvom mjestu, komandne linije je korisno za automatizaciju. Da, u Mac OS ima svoju AppleScript, koji se mogu koristiti za automatiziranje mnoge akcije. Ali, ga koristiti, možda, čak i manje korisnika, od onih, koji su upoznati s tajnama naredbenog retka. Tako, komandne linije u Mac OS X “zadana” izgled: Osvijetljeni u crvenom prvoj kartici – kao što nam govori, da očito, nešto dogodilo: tu je novi tekst. I u tekućoj kartici prikazuje rezultat nekoliko jednostavnih naredbi: - ls – prikazuje popis datoteka (nema argumenata – u trenutnom direktoriju) - jeka “Pozdrav svijetu” – prikazuje liniju Pozdrav svijetu - otvoren Downloads/Growl-1.2.1.dmg – otvara s Nalazač datoteke Downloads/Growl-1.2.1.dmg Možda, po prvi put u više nego dovoljno