Cov txheej txheem:
- Qhia cov ntaub ntawv zais thiab cov folders hauv Finder
- Khaws cov ntaub ntawv thiab folders
- Luam cov ntawv hauv Preview
- Rub tawm cov ntaub ntawv tsis muaj browser
- Tsim ib cov ntaub ntawv ntawm txhua qhov loj
- Saib tag nrho cov txheej txheem nquag
- Disable duab ntxoov ntxoo hauv screenshots
- Hloov cov hom ntawv ntawm screenshots
- Hloov qhov screenshots tau txais kev cawmdim
- Ua kom nrawm nrawm nrawm nrawm
- Ntxiv ib lub separator rau qhov chaw nres nkoj
- Xauv npo lus
- Hais lus
- Calendar saib
- Txhim kho RAM
- Tshawb xyuas Mac Uptime
- Tiv thaiv kom tsis txhob mus pw
- Mac stress test
- Instant reboot lossis kaw
- Nws pib reboot thaum khov
2024 Tus sau: Malcolm Clapton | [email protected]. Kawg hloov kho: 2023-12-17 03:58
Kawm paub yuav ua li cas ua haujlwm ntawm koj Mac yooj yim dua thiab yooj yim dua.
Tag nrho cov haujlwm ntawm macOS tau xav txog qhov nthuav dav me tshaj plaws thiab lawv cov kev teeb tsa yog qhov zoo rau cov neeg siv feem ntau. Txawm li cas los xij, nrog kev pab los ntawm "Terminal" cov lus txib, tus cwj pwm ntawm qhov system tuaj yeem hloov pauv, thiab nws cov peev txheej tuaj yeem nthuav dav. Thiab qee zaum nws tuaj yeem pab tau zoo heev.
Txhawm rau thov lossis tshem tawm cov kev teeb tsa, qhib lub "Terminal" los ntawm "Cov Ntawv Thov" → "Utilities" nplaub tshev thiab nkag mus rau cov lus txib hauv qab no siv cov kev sib txuas Cmd + C, Cmd + V.
Qhia cov ntaub ntawv zais thiab cov folders hauv Finder
Nws tsis yog feem ntau, tab sis tseem yuav tsum tau delve rau hauv cov ntaub ntawv zais ntawm lub disk. Los ntawm lub neej ntawd, lawv tsis tshwm sim hauv Finder, thiab koj yuav tsum siv cov lus txib tshwj xeeb kom pom lawv.
Yuav ua li cas qhib:
defaults sau com.apple.finder AppleShowAllFiles -bool TRUE && killall Finder
Yuav ua li cas lov tes taw:
defaults sau com.apple.finder AppleShowAllFiles -bool FALSE && killall Finder
Khaws cov ntaub ntawv thiab folders
Yog tias koj xav tau, koj tuaj yeem nkaum cov ntaub ntawv ntiag tug ntawm lub disk los ntawm qhov muag prying. Txhawm rau ua qhov no, siv cov lus txib chflags … Tom qab nws, koj yuav tsum nkag mus rau hauv txoj kev mus rau cov ntaub ntawv los yog nplaub tshev uas koj xav mus nkaum. Txhawm rau kom tsis txhob thab nrog kev nkag mus rau hauv txoj kev, koj tuaj yeem yooj yim ntaus hauv cov lus txib, thiab tom qab ntawd luag cov ntawv tais ceev tseg rau hauv "Terminal" qhov rai.
Yuav ua li cas qhib:
chflags zais ~ / Desktop / Secret Folder
Yuav ua li cas lov tes taw:
chflags nohidden ~ / Desktop / Secret folder
Luam cov ntawv hauv Preview
Nias lub spacebar hauv Finder qhib qhov pom ceev ntawm cov ntaub ntawv. Qhov no ua rau nws yooj yim heev los xyuas cov ntsiab lus ntawm cov ntawv nyeem. Tab sis qhov kev xaiv tsis ua haujlwm hauv lub qhov rais no - txhawm rau luam cov ntawv nyeem, koj yuav tsum qhib cov ntaub ntawv. Txhawm rau kom tsis txhob nkim sijhawm ntawm qhov no, qhib qhov kev xaiv rau kev saib sai.
Yuav ua li cas qhib:
defaults sau com.apple.finder QLEnableTextSelection -bool TRUE && killall Finder
Yuav ua li cas lov tes taw:
defaults sau com.apple.finder QLEnableTextSelection -bool FALSE && killall Finder
Rub tawm cov ntaub ntawv tsis muaj browser
Koj tsis tas yuav siv Safari lossis Chrome los rub tawm cov ntaub ntawv los ntawm qhov txuas hauv Is Taws Nem. Qee lub sij hawm nws sai dua thiab yooj yim dua ua nws los ntawm "Terminal" siv cov lus txib curl.
Yuav siv li cas:
curl -O
Tsim ib cov ntaub ntawv ntawm txhua qhov loj
Nws yog qhov yooj yim los ntsuas qhov ceev ntawm cov ntaub ntawv hloov pauv hauv lub network lossis los ntawm cov xov xwm sab nraud los ntawm kev luam cov ntaub ntawv. Nws yuav siv sij hawm ntev los tshawb nrhiav cov yeeb yaj kiab lossis cov duab uas tsim nyog rau qhov no, yog li nws yooj yim dua los tsim cov ntawv xeem siv cov lus txib mkfile … Koj tuaj yeem teeb tsa qhov loj me uas siv cov lej thiab cov cim b, k, m los yog glub ntsiab lus bytes, kilobytes, megabytes, thiab gigabytes, feem.
Yuav siv li cas:
mkfile 1g test.abc
Saib tag nrho cov txheej txheem nquag
Txhawm rau saib xyuas cov peev txheej hauv macOS, muaj qhov program hu ua qhov ntawd. Nws yog qhov yooj yim heev thiab cov ntaub ntawv, tab sis koj tuaj yeem pom cov txheej txheem siv ntau tshaj plaws hauv "Terminal".
Yuav siv li cas:
saum
Disable duab ntxoov ntxoo hauv screenshots
Ib qho tshwj xeeb ntawm cov screenshots hauv macOS yog cov duab ntxoov ntxoo zoo nkauj nyob ib puag ncig lawv. Hauv qee qhov xwm txheej, lawv cuam tshuam thiab koj xav tshem lawv. Txhawm rau ua qhov no, tsuas yog nkag mus rau cov lus txib hauv qab no.
Yuav ua li cas lov tes taw:
defaults sau com.apple.screencapture disable-shadow -bool TRUE && killall SystemUIServer
Yuav ua li cas qhib:
defaults sau com.apple.screencapture disable-shadow -bool FALSE && killall SystemUIServer
Hloov cov hom ntawv ntawm screenshots
Los ntawm lub neej ntawd, tag nrho cov screenshots tau txais kev cawmdim hauv PNG. Hom ntawv no tso cai rau koj kom ua tiav qhov zoo, tab sis yuav tsum muaj ntau qhov chaw rau cov ntaub ntawv. Yog tias koj feem ntau xa cov screenshots ntes los ntawm-p.webp
Yuav ua li cas qhib:
defaults sau com.apple.screencapture hom JPG && killall SystemUIServer
Yuav ua li cas lov tes taw:
defaults sau com.apple.screencapture hom PNG && killall SystemUIServer
Dhau li ntawm JPG, macOS kuj tso cai rau koj xaiv TIFF lossis PDF piv txwv.
Hloov qhov screenshots tau txais kev cawmdim
Noj ntau cov screenshots thiab tsis muaj sijhawm los rho tawm ntawm koj lub desktop? Tsim ib lub nplaub tshev cais thiab khaws cov screenshots rau nws. Thiab xws li ib tug hais kom ua yuav pab tau nyob rau hauv no.
Yuav siv li cas:
defaults sau com.apple.screencapture qhov chaw ~ / Desktop / Screenshots && killall SystemUIServer
Yuav rov qab tau li cas:
defaults sau com.apple.screencapture qhov chaw ~ / Desktop && killall SystemUIServer
Ua kom nrawm nrawm nrawm nrawm
Thaum koj xav tau tsom rau koj txoj haujlwm, nws yooj yim rau nkaum thiab qhib qhov chaw nres nkoj los ntawm hovering koj tus nas hla hauv qab ntawm qhov screen. Los ntawm lub neej ntawd, lub vaj huam sib luag tshwm nrog ncua sijhawm ntawm 0.7 vib nas this, tab sis qhov no yooj yim hloov. Ib qho kev ceeb toom acceleration tau pom lawm ntawm qhov ncua ntawm 0.5 vib nas this. Tab sis yog tias qhov no ntau heev, koj tuaj yeem tshem tawm qhov ncua sij hawm tag nrho los ntawm kev teeb tsa xoom.
Yuav ua li cas qhib:
defaults sau com.apple.dock autohide-time-modifier -float 0.5 && killall Dock
Yuav ua li cas lov tes taw:
defaults sau com.apple.dock autohide-time-modifier -float 0.7 && killall Dock
Ntxiv ib lub separator rau qhov chaw nres nkoj
Muaj ib tug cais nyob rau hauv qhov chaw nres nkoj tsuas yog nyob ib sab ntawm lub pob tawb, tag nrho lwm yam icons tshwm nyob rau hauv kab. Thiab qee zaum, thaum muaj ntau ntawm lawv, nws nyuaj heev los nrhiav cov uas yog. Txhawm rau ua kom cov chaw nres nkoj zoo dua los ntawm kev txheeb xyuas cov kev pab cuam, piv txwv li, los ntawm qeb, koj tuaj yeem siv tus cais.
Yuav ua li cas ntxiv:
defaults sau com.apple.dock persistent-apps -array-ntxiv '{"tile-type" = "spacer-tile";}' && killall Dock
Yuav tshem tawm li cas:
Txhawm rau tshem tawm qhov sib cais, koj tsuas yog yuav tsum rub nws tawm ntawm qhov chaw nres nkoj zoo li lwm lub cim uas nws, qhov tseeb, yog.
Xauv npo lus
Thiab qhov kev ua kom yuam kev no yuav tuaj yeem ua ke thaum poob koj lub computer lossis rau pranking cov npoj yaig. Koj tuaj yeem ntxiv cov ntawv nyeem rau lub vijtsam nkag nrog cov lus txib hauv qab no.
Yuav ua li cas qhib:
sudo defaults sau /Library/Preferences/com.apple.loginwindow LoginwindowText "Koj cov lus"
Yuav ua li cas lov tes taw:
sudo defaults rho tawm /Library/Preferences/com.apple.loginwindow
Hais lus
MacOS muaj ib tug built-in hais lus synthesizer uas yuav nyeem tau cov ntawv nyeem. Txhawm rau ua kom lub cuab yeej hais lus, koj yuav tsum nkag mus rau cov lus txib tshwj xeeb hauv "Terminal" ntxiv cov ntawv xav tau lossis txoj hauv kev rau daim ntawv rau nws.
Yuav siv li cas:
hais tias "Nyob zoo Lifehacker!"
hais -f ~ / Cov ntaub ntawv / fairytale.txt
Calendar saib
Daim ntawv qhia hnub yog tso tawm nyob rau hauv daim ntawv thov ntawm tib lub npe, nrog rau nyob rau hauv lub hnub thiab lub sij hawm chaw. Lwm txoj hauv kev kom pom sai sai yog nrog cov lus txib cal hauv "Terminal". Los ntawm lub neej ntawd, nws qhia lub hli tam sim no, tab sis yog tias koj ntxiv ib xyoos rau nws, koj tuaj yeem pom daim ntawv qhia hnub tag nrho.
Yuav siv li cas:
cal 2018
Txhim kho RAM
Lub kaw lus nws tus kheej ua haujlwm zoo ntawm kev tswj hwm lub cim xeeb, tab sis thaum lub RAM tau txhaws rau lub peev xwm thiab lub khoos phis tawj pib qeeb, koj tuaj yeem yuam kom txhim kho qhov xwm txheej los ntawm kev tshem tawm daim ntawv thov cache. Txhawm rau ua qhov no, siv cov lus txib tshem tawmuas yuav kom koj nkag mus rau tus thawj tswj password.
Yuav siv li cas:
tshem tawm
Tshawb xyuas Mac Uptime
Apple cov khoos phis tawj ua haujlwm tau zoo rau lub lis piam lossis ntau lub hlis. Qee lub sij hawm nws yog qhov nthuav kom paub ntau npaum li cas lub sij hawm tau dhau mus txij li lub hwj chim kawg. Cov lus txib hauv qab no yuav teb cov lus nug no.
Yuav siv li cas:
sijhawm ua haujlwm
Tiv thaiv kom tsis txhob mus pw
Thaum ib txoj haujlwm ua tiav ntawm Mac yam tsis tau nias cov yuam sij lossis kov lub trackpad, tom qab ib ntus, lub khoos phis tawj mus pw thiab cov txheej txheem nres. Koj tuaj yeem zam qhov no los ntawm kev txwv tsis pub hloov mus rau hom no siv cov chaw lossis siv cov khoom siv tshwj xeeb. Txawm li cas los xij, muaj txoj hauv kev yooj yim dua - cov lus txib caffeinate.
Yuav ua li cas qhib:
caffeinate
Yuav ua li cas lov tes taw:
Txhawm rau rov qab mus rau qhov chaw txuag hluav taws xob tam sim no, koj yuav tsum tawm ntawm kev ua tiav ntawm cov txheej txheem hauv "Terminal" siv cov keyboard shortcut Ctrl + C.
Mac stress test
Yog tias lub khoos phis tawj sib tsoo thiab qhov teeb meem tsuas yog tshwm sim nws tus kheej hauv qab thauj khoom, nws tuaj yeem txheeb xyuas tau yooj yim siv cov lus txib hauv qab no. Nws thauj tag nrho cov processor cores ntawm 100% kom txog thaum koj tso tseg nws qhov kev ua tiav.
Yuav ua li cas qhib:
yes > / dev / null && yes > / dev / null && yes > / dev / null && yes / dev / null &&
Yuav ua li cas lov tes taw:
killall yog
Instant reboot lossis kaw
Tus txheej txheem Mac kaw yuav tsum txuag tag nrho cov ntaub ntawv qhib thiab siv sijhawm ntxiv. Yog tias koj paub tseeb tias txhua yam tau txais kev cawmdim, thiab koj xav tua koj lub computer yam tsis tau ncua, siv cov lus txib hauv qab no.
Txhawm rau kaw nkag nkag:
sudo shutdown -h tam sim no
Txhawm rau reboot:
sudo shutdown -r tam sim no
Nws pib reboot thaum khov
Qee lub sij hawm, Mac yuav khov thiab ua tsis tau. Hauv qhov no, koj yuav tsum yuam kom rov pib lub computer thaum tuav lub zog khawm. Tom qab nkag mus rau cov lus txib no, lub kaw lus yuav rov pib dua tom qab ua tsis tiav.
Yuav ua li cas qhib:
sudo systemsetup -setrestartfreeze rau
Yuav ua li cas lov tes taw:
sudo systemsetup -setrestartfreeze tawm
Pom zoo:
20 txoj cai los ntawm OBZH zaj lus qhia uas yuav los ua ke hauv lub neej tiag tiag
Cov lus pom zoo no tsis tshwm sim tawm ntawm qhov chaw. Sim nco ntsoov cov kev cai nyab xeeb kom tsis txhob rov ua dua lwm tus yuam kev, uas tuaj yeem raug nqi ntau
8 Console Commands rau Configure Networking hauv Windows
Lub Windows Control Vaj Huam Sib Luag muaj cov npe txwv tsis pub muaj kev xaiv los tswj koj lub network. Yog li ntawd, nws tsim nyog kawm cov lus txib console yooj yim
3 txoj hauv kev los khi cov ncej thiab cov cav ntoo uas yuav los ua ke hauv lub neej txhua hnub thiab nyob rau hauv qhov xwm txheej hnyav
Txawm hais tias koj yuav tsum tau khi ib yam dab tsi, khi kab los yog ua ib lub prop, ib txoj hlua khi yuav yog koj txoj kev cawm seej. Peb qhia koj yuav ua li cas
Terminal Commands Txhua tus yuav tsum paub
Terminal commands nyob rau hauv Programs> Utilities directory. Tam sim ntawd tom qab pib nws, koj yuav pom ib kab uas sau lub npe ntawm lub computer thiab cov npe tam sim no
Nws yuav siv sijhawm ntev npaum li cas los ua haujlwm hauv ntau lub nroog hauv ntiaj teb los yuav lub iPhone tshiab
Swiss bank UBS tau tshawb fawb hauv 71 lub nroog thoob ntiaj teb thiab pom tias qhov twg iPhone tshiab yuav tsum ua haujlwm ntau tshaj thiab tsawg kawg ntawm txhua qhov