<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Terminal &#8211; 記下來</title>
	<atom:link href="https://noter.tw/tag/terminal/feed/" rel="self" type="application/rss+xml" />
	<link>https://noter.tw</link>
	<description>一路上踩到的坑、遇到的問題，一點一滴記下來，希望能幫助到需要的人~</description>
	<lastBuildDate>Sat, 07 Nov 2020 14:53:51 +0000</lastBuildDate>
	<language>zh-TW</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.6.3</generator>

<image>
	<url>https://noter.tw/wp-content/uploads/cropped-old-1130742_1920-1-32x32.jpg</url>
	<title>Terminal &#8211; 記下來</title>
	<link>https://noter.tw</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Mac OSX 終端機常用指令</title>
		<link>https://noter.tw/5030/mac-osx-%e7%b5%82%e7%ab%af%e6%a9%9f%e5%b8%b8%e7%94%a8%e6%8c%87%e4%bb%a4/</link>
					<comments>https://noter.tw/5030/mac-osx-%e7%b5%82%e7%ab%af%e6%a9%9f%e5%b8%b8%e7%94%a8%e6%8c%87%e4%bb%a4/#respond</comments>
		
		<dc:creator><![CDATA[黃小蛙]]></dc:creator>
		<pubDate>Fri, 13 Sep 2019 13:28:26 +0000</pubDate>
				<category><![CDATA[技巧分享]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Mac 小技巧]]></category>
		<category><![CDATA[2019]]></category>
		<category><![CDATA[終端機常用指令]]></category>
		<category><![CDATA[命令列]]></category>
		<category><![CDATA[Terminal]]></category>
		<guid isPermaLink="false">https://noter.tw/?p=5030</guid>

					<description><![CDATA[<p>小蛙一直有一個疑問，Mac 的終端機（Terminal）要移動游標實在是太不人性化了，不僅不能用滑鼠點，每次查了快捷鍵（shortcut ）實在是太難記了，總是一下子就忘記，上網 Google 一些文&#46;&#46;&#46;</p>
<p>這篇文章 <a rel="nofollow" href="https://noter.tw/5030/mac-osx-%e7%b5%82%e7%ab%af%e6%a9%9f%e5%b8%b8%e7%94%a8%e6%8c%87%e4%bb%a4/" data-wpel-link="internal">Mac OSX 終端機常用指令</a> 最早出現於 <a rel="nofollow" href="https://noter.tw" data-wpel-link="internal">記下來</a>。</p>
]]></description>
										<content:encoded><![CDATA[
<p>小蛙一直有一個疑問，Mac 的終端機（Terminal）要移動游標實在是太不人性化了，不僅不能用滑鼠點，每次查了快捷鍵（shortcut ）實在是太難記了，總是一下子就忘記，上網 Google 一些文章，這篇記錄 Mac 終端機常用指令（小蛙自己常常用的）。</p>



<span id="more-5030"></span>



<h2 class="para wp-block-heading">視窗相關</h2>



<mark class="yellow">Command + N</mark>



<p>新增視窗，某些情況下需要開啟多個視窗或多個連線時可以使用。</p>



<mark class="yellow">Command + T</mark>



<p>開新分頁，一個視窗裡面有很多連線頁籤。</p>



<mark class="yellow">Command + W</mark>



<p>關閉目前視窗或分頁，有分頁的話關分頁，關到最後一個分頁時直接關視窗。</p>



<mark class="yellow">Command + S</mark>



<p>儲存成文字檔，這個在很多地方都是快速儲存，在終端機可以儲存當下畫面成文字檔。</p>



<mark class="yellow">control + tab 或 control + shift + tab</mark>



<p>切換分頁，有很多分頁的時候可以透過這兩個快捷鍵往下切換或往上切換。</p>



<h2 class="para wp-block-heading">游標/輸入相關</h2>



<mark class="yellow">Tab</mark>



<p>自動補齊指令全名，這應該大家都很熟悉了，像小哇超懶得打字的，經常按這個～</p>



<mark class="yellow">按兩下Tab</mark>



<p>列出有相同開頭的指令，這個跟上面是搭配的。</p>



<mark class="yellow">Control + U</mark>



<p>刪除游標到最前面整行，有時候打了一大堆，想要刪掉整行的時候，不過感覺直接按 control + c 比較快。</p>



<mark class="yellow">Control + C</mark>



<p>中斷目前指令，同上，會直接跳一行新的指令列。</p>



<mark class="yellow">Control + K</mark>



<p>刪除游標到最後面整行，游標後面的全部會被刪掉。</p>



<mark class="yellow">Control + L</mark>



<p>清空畫面，等同 Clear (或 Command + K)，有時候畫面有一堆訊息時，可以清空他們。</p>



<mark class="yellow">Control + A</mark>



<p>游標移到最前面，當打了很長的指令發現前面打錯，可以回到最前面。</p>



<mark class="yellow">Control + E</mark>



<p>游標移到最後面，control + A 的相反。</p>



<mark class="yellow">Option + Click</mark>



<p>游標移到滑鼠點的地方，這個是小蛙後來發現最實用的，不論是命令列或者是 vim 都可以用，簡直太方便了！</p>



<p>本文參考自 <a rel="noreferrer noopener nofollow external" aria-label="Mac 終端機常用熱鍵 (在新分頁中開啟)" href="https://john24318.wordpress.com/2014/02/15/mac-%E7%B5%82%E7%AB%AF%E6%A9%9F%E5%B8%B8%E7%94%A8%E7%86%B1%E9%8D%B5/" target="_blank" data-wpel-link="external" class="wpel-icon-right">Mac 終端機常用熱鍵<span class="wpel-icon wpel-image wpel-icon-6"></span></a>。</p>



<p><strong>Mac OSX 系列文章：</strong></p>



<ul class="my-li bg-darkblue wp-block-list">
<li><a href="https://noter.tw/12526/mac-%e8%ae%80%e5%af%ab-ntfs-buhontfs-%e7%b5%82%e7%94%9f%e6%8e%88%e6%ac%8a%e9%99%90%e6%99%82%e5%85%8d%e8%b2%bb-01-30/" data-wpel-link="internal">Mac 讀寫 NTFS: BuhoNTFS 終生授權限時免費 (~01/30)</a></li>



<li><a href="https://noter.tw/9300/mac-airdrop-prevent-auto-open/" data-wpel-link="internal">Mac 使用 AirDorp 後，關閉自動開啟檔案</a></li>



<li><a href="https://noter.tw/8626/mac-boot-sound/" data-wpel-link="internal">關閉 Mac 開機時「咚」的啟動音效</a></li>



<li><a href="https://noter.tw/4989/mac-osx-%e5%ae%89%e8%a3%9d%e8%bb%9f%e9%ab%94%e7%9a%84%e6%96%b9%e5%bc%8f%e4%bb%8b%e7%b4%b9/" data-wpel-link="internal">Mac OSX 安裝軟體的方式介紹</a></li>



<li><a href="https://noter.tw/5002/mac-osx-%e7%a7%bb%e9%99%a4%e8%bb%9f%e9%ab%94%e7%9a%84%e6%96%b9%e5%bc%8f%e4%bb%8b%e7%b4%b9/" data-wpel-link="internal">Mac OSX 移除軟體的方式介紹</a></li>



<li><a href="https://noter.tw/5011/mac-osx-%E8%9E%A2%E5%B9%95%E6%88%AA%E5%9C%96-%E9%8C%84%E5%BD%B1%E7%9A%84%E6%96%B9%E6%B3%95/" data-wpel-link="internal">Mac OSX 螢幕截圖 / 錄影的方法</a></li>



<li><a href="https://noter.tw/4319/macbook-pro-%e6%8f%92%e4%b8%8a-typec-%e5%a4%9a%e5%8a%9f%e8%83%bd%e8%bd%89%e6%8e%a5%e9%a0%ad%e5%be%8c%ef%bc%8c%e7%84%a1%e6%b3%95%e4%b8%8a%e7%b6%b2%e5%95%8f%e9%a1%8c/" data-wpel-link="internal">MacBook Pro 插上 TypeC 多功能轉接頭後，無法上網問題</a></li>



<li><a href="https://noter.tw/4329/mac-osx-%e8%b6%85%e6%a3%92%e7%9a%84%e8%a6%96%e7%aa%97%e7%ae%a1%e7%90%86%e5%b7%a5%e5%85%b7-magnet/" data-wpel-link="internal">Mac OSX 超棒的視窗管理工具 – Magnet</a></li>



<li><a href="https://noter.tw/4331/mac-osx-%e4%b8%8d%e5%8f%af%e4%b8%8d%e7%9f%a5%e7%9a%84%e9%ab%98%e6%95%88%e7%8e%87%e5%af%86%e6%8a%80-%e6%a1%8c%e9%9d%a2-%e8%a6%96%e7%aa%97%e7%ae%a1%e7%90%86%e7%af%87/" data-wpel-link="internal">Mac OSX 不可不知的高效率密技 – 桌面/視窗管理篇</a></li>



<li><a href="https://noter.tw/4362/mac-osx-%e4%b8%8d%e5%8f%af%e4%b8%8d%e7%9f%a5%e7%9a%84%e9%ab%98%e6%95%88%e7%8e%87%e7%a5%95%e6%8a%80-%e9%8d%b5%e7%9b%a4%e7%af%87/" data-wpel-link="internal">Mac OSX 不可不知的高效率祕技 – 鍵盤篇</a></li>



<li><a href="https://noter.tw/4345/%e3%80%8cfeeltek-8-in-1-usb-c-%e5%a4%9a%e5%8a%9f%e8%83%bd%e8%bd%89%e6%8e%a5%e5%99%a8%e3%80%8d%e9%96%8b%e7%ae%b1%e5%8f%8a%e4%bd%bf%e7%94%a8%e5%bf%83%e5%be%97/" data-wpel-link="internal">「Feeltek 8 in 1 USB-C 多功能轉接器」開箱及使用心得</a></li>



<li><a href="https://noter.tw/5030/mac-osx-%e7%b5%82%e7%ab%af%e6%a9%9f%e5%b8%b8%e7%94%a8%e6%8c%87%e4%bb%a4/" data-wpel-link="internal">Mac OSX 終端機常用指令</a></li>



<li><a href="https://noter.tw/5369/%e5%ad%98%e4%b8%8d%e9%80%b2%e9%9a%a8%e8%ba%ab%e7%a2%9f%ef%bc%9f%e5%85%8d%e5%ae%89%e8%a3%9d%e8%bb%9f%e9%ab%94%e8%ae%93-mac-%e4%b9%9f%e8%83%bd%e8%ae%80%e5%af%ab-ntfs-%e6%a0%bc%e5%bc%8f/" target="_blank" rel="noreferrer noopener" data-wpel-link="internal">存不進隨身碟？免安裝軟體讓 Mac 也能讀寫 NTFS 格式</a></li>
</ul>
<p>這篇文章 <a rel="nofollow" href="https://noter.tw/5030/mac-osx-%e7%b5%82%e7%ab%af%e6%a9%9f%e5%b8%b8%e7%94%a8%e6%8c%87%e4%bb%a4/" data-wpel-link="internal">Mac OSX 終端機常用指令</a> 最早出現於 <a rel="nofollow" href="https://noter.tw" data-wpel-link="internal">記下來</a>。</p>
]]></content:encoded>
					
					<wfw:commentRss>https://noter.tw/5030/mac-osx-%e7%b5%82%e7%ab%af%e6%a9%9f%e5%b8%b8%e7%94%a8%e6%8c%87%e4%bb%a4/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
