ʻO kekahi o nā kauoha pono loa no ka OS X maʻi ma Mac

Mac-Terminal-kauoha-0

No ka poʻe a pau i ʻike maʻalahi ʻia ka hoʻomākaukau ʻana iā mākou i nā manawa ke ʻole kēia 'boom' o ka ʻenehana pūnaewele a me ka ʻoneki. e hoʻomanaʻo mākou me ka nostalgia mai ka console kauoha ʻo ia wale nō ke ala e kiʻi ai i nā papa kuhikuhi a i ʻole nā ​​faila. ʻAʻole i nalowale loa kēlā a ʻo ia no kekahi ʻano o ka ʻōnaehana, pono mākou e hoʻowai i loko o ka pahu e hoʻokō i kā mākou mau pahuhopu.

Eia nō naʻe, pono mākou e ʻae i kēlā me kēia kamepiula i hōʻea i kahi kiko o ka sophistication i kēlā me kēia manawa ʻOi aku ka maʻalahi o nā helehelena kiʻi a ʻoi aku nā mea āpau i loko o ka hiki o ka mea hoʻohana, ʻaʻole maikaʻi i ʻōlelo ʻia, me ke ʻano o kēia manawa o ka hana ʻana i nā mea āpau a ʻaneʻane ʻaneʻane paha nā mea āpau e ka pā ʻana a hoʻonui i ka intuitive a kūlohelohe me kēlā me kēia paʻi. Akā e like me kaʻu i ʻōlelo ai, e ʻike pehea me kekahi mau kauoha i loaʻa ʻole ma o nā koho 'maʻamau' hiki iā mākou ke wehe i nā aka mai nā screenshots a hōʻike maʻalahi paha i nā faila huna.

ʻO ka mea mua e wehe i ka maʻi e hele i ka Applications> Utilities> Terminal menu. Mai aneʻi hiki iā mākou ke hoʻomaka e hoʻāʻo i nā koho like ʻole.

E kamaʻilio i kāu Mac

e ʻōlelo "nā mea āu e makemake ai e kau aʻe"

 

Hula pāʻani

ʻOiai ʻo Mac kahi unuhi i hoʻokumu ʻia ma Unix, ua 'kauō' ia i nā pāʻani āna i lawe mai ai. ʻO Emacs, kahi hoʻoponopono huaʻōlelo i ʻāpana o ka ʻōnaehana UNIX, hele mai me nā mea pūʻiwa e like me kēia mau pāʻani. E ʻike pehea e hana ai i kēia, maʻalahi ia, ʻike mua ʻoe i ka mana o Emacs iā ʻoe

cd / usr / kaʻana / emacs /; ls

E hōʻike kēia i ka helu mana. Naʻu ʻo 22.1. E komo i kēia:

ls /usr/share/emacs/22.1/lisp/play

E kuapo iā 22.1 me ka helu i loaʻa iā ʻoe i ka hana ma mua, ʻaʻole like lākou, ma kēia ala e loaʻa ai kahi papa kuhikuhi o nā pāʻani āpau i loaʻa. E lawe i ka hoʻolele kiʻi o ka mea e hōʻike ai e ʻike i nā mea i loaʻa i ka mana.

Mac-Terminal-kauoha-1

 

I kēia manawa ua komo mākou i ke kauoha:

emacs

No ke kiʻi ʻana i nā pāʻani, kaomi 'Esc' a laila 'x' a hoʻokomo i ka inoa o ka pāʻani āu e makemake ai e pāʻani, ʻo ka inoa wale nō no ka mea ʻaʻole pono nā mea hoʻolōʻihi.

Mac-Terminal-kauoha-2

E ʻike i nā Star Wars ma ASCII

Inā he nostalgia, ʻaʻohe mea ʻoi aku ka maikaʻi ma mua o ka ʻike ʻana i kahi hanana Star Wars ma ka helu ASCII inā loaʻa iā IPV6 ma kā mākou Mac, hiki iā mākou ke ʻike i ke kala a i ʻole ma o SSH a me Telnet ma kahi iPhone.

kāwele telnet.blinkenlight.nl

 Mac-Terminal-kauoha-3

E hoʻololi i ka pinepine o ke kākoʻo ʻana o ka ʻōnaehana

Me kēia kauoha hiki iā mākou ke hoʻololi i ka manawa e hoʻomaka ai ka Mīkini Manawa e hoʻomaka i ka papaʻa:

sudo defaults kākau / ʻōnaehana / Waihona Puke / Launch Daemons / com.apple.backupd-auto StartInterval -int 1800

E noʻonoʻo e hōʻike ʻia ʻo 1800 i kekona, e like ia me 30 mau minuke.


Hoʻohou i ka nui o ka manaʻo hoʻohālikelike kiʻi 

Inā ʻoe e loli ma o nā previews ʻokoʻa e ʻike ʻoe i ka hoʻonui ʻana o ke kiʻi iā ia i kēlā me kēia manawa e kū i ka nui o ke kiʻi i kēlā manawa. Hiki iā mākou ke hoʻonā iā ia me kēia kauoha maʻalahi:

e kākau palapala paʻamau i com.feedface.ffview udn_dont_resize_img_ lanakila 1

Inā makemake mākou e wehe hou i kēia hoʻololi, lawa ia e hoʻololi ai i ka waiwai 1 a 0

 e kākau palapala paʻamau i com.feedface.ffview udn_dont_resize_img_ lanakila 0


Kōkua hou

Inā makemake ʻoe e hana i kahi ala pōkole i ka Dock e ʻike ai i kāu noi hou i hiki iā ʻoe ke hana e like me kēia:

kākau nā paʻamau com.apple.dock persistent-others -array-add '{"tile-data" = {"list-type" = 1; }; "Tile-type" = "recents-tile"; } '; killall Dock

E wehe iā ia, kauō wale ia mai ka pae.

Mac-Terminal-kauoha-5

Kapa hou i nā screenshots

Ma ka laulā, kapa inoa ʻo OS X i nā screenshots me kā lākou helu a me ka lā a me ka manawa i hana ʻia ai, e ʻike pehea e hoʻololi ai:

kākau nā paʻamau i ka inoa com.apple.screencapture "Pehea ʻoe e makemake ai e kapa iā ia"; killall PūnaeweleUIServer

Inā makemake ʻoe e hoʻi i ke kumu

kākau nā paʻamau i ka inoa com.apple.screencapture ""; killall PūnaeweleUIServer

 

E hōʻike i nā faile huna

Ma ka paʻamau aia nā faila huna i loko o ka ʻōnaehana, ʻaʻole hiki iā mākou ke ʻike ke ʻole mākou e hoʻokomo i kēia kauoha a i ʻole ma o kekahi papahana ʻano iVisible.

kākau nā paʻamau i com.apple.finder AppleShowAll Files TRUE; killall Mea Loaʻa

E hoʻi hou a hū hou iā lākou e hoʻololi mākou i FALSE

kākau nā paʻamau i ka com.apple.finder AppleShowAll Files FALSE; killall Mea Loaʻa

 

Hoʻopau iā Airdrop ma nā Macs kahiko

Ma ka paʻamau hiki wale mai ʻo Airdrop ma ke ʻano he protocol i nā Mac hou a ʻaʻohe o kēia hiʻohiʻona e kaʻana like i nā faila. E hiki ai iā ia:

kākau nā paʻamau i ka com.apple.NetworkBrowser BrowseAllInterfaces -bool TRUE; killall Mea Loaʻa

E hoʻohuli i ka loli

kākau nā paʻamau i com.apple.NetworkBrowser BrowseAllInterfaces -bool FALSE; killall Mea Loaʻa

 

E hoʻopau i ka ʻōnaehana 'ʻelua manamana' e hoʻokele me Chrome

Loaʻa iā Chrome kēia ʻano ʻē inā hele ʻoe i hoʻokahi ala me nā manamana ʻelua, e lawe mākou iā ʻoe i ka mea ma mua a i ʻole ka mea aʻe (e hilinaʻi ana i ke ʻano), inā ʻaʻole ʻoe makemake i kēia kuhi, hiki ke hoʻopau ʻia me kahi kauoha maʻalahi. .

e kākau paʻamau i ka com.google.Chrome.plist AppleEnableSwipeNavigateWithScrolls -bool FALSE

E like me ka manawa mau e hoʻohuli i ka loli

e kākau paʻamau i ka com.google.Chrome.plist AppleEnableSwipeNavigateWithScrolls -bool TRUE

 

Hoʻoponopono i nā huaʻōlelo ma Nānā Wikiwiki

ʻO kahi mea pono loa ka hiki ke hoʻoponopono iā ia ke nānā nei i kahi palapala ma Quick Look, ʻoi aku ka piha o ka piha ma mua o ka wehe ʻana i kahi papahana inā pili ʻia i ʻelua mau tweaks, no laila e hana ai mākou i kēia mau mea:

kākau nā paʻamau com.apple.finder QLEnableTextSelection -bool TRUE; killall Mea Loaʻa

E hoʻohuli

e kākau paʻamau i ka com.apple.finder QLEnableTextSelection -bool FALSE; killall Mea Loaʻa

Hoʻopili ka ʻike o ka ʻatikala i kā mākou kumumanaʻo o ka hoʻoponopono hoʻoponopono. E hōʻike i kahi kaomi hemahema ʻaneʻi.

E lilo i mea mua e wehewehe

E waiho i kāu manaʻo

Kāu leka uila aae? E,ʻaʻole e paʻiʻia.

*

*

  1. He kuleana no ka ʻikepili: Miguel Ángel Gatón
  2. Ke kumu o ka ʻikepili: kaohi SPAM, hoʻokele ʻōlelo.
  3. Legitimation: Kou ʻae
  4. Ka kamaʻilio ʻana o ka ʻikepili: ʻaʻole e hōʻike ʻia ka ʻikepili i nā ʻaoʻao ʻekolu koe ka mana o ke kānāwai.
  5. Pūnaewele mālama: Pūnaewele i mālama ʻia e Occentus Networks (EU)
  6. Nā Kuleana: I kēlā me kēia manawa hiki iā ʻoe ke palena, hoʻōla a kāpae i kāu ʻike.