Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Windows Terminal Tips, Tricks, and Productivity Hacks

You're reading from   Windows Terminal Tips, Tricks, and Productivity Hacks Optimize your command-line usage and development processes with pro-level techniques

Arrow left icon
Product type Paperback
Published in Apr 2021
Publisher Packt
ISBN-13 9781800207561
Length 254 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Will Fuqua Will Fuqua
Author Profile Icon Will Fuqua
Will Fuqua
Arrow right icon
View More author details
Toc

Table of Contents (20) Chapters Close

Preface 1. Section 1: Introducing the New Windows Terminal
2. Chapter 1: Getting started with the new Windows Terminal FREE CHAPTER 3. Chapter 2: Learning the Windows Terminal UI 4. Chapter 3: Configuring an Ubuntu Linux profile 5. Section 2: Configuring your Windows Terminal and its shells
6. Chapter 4: Customizing your Windows Terminal settings 7. Chapter 5: Changing your Windows Terminal appearance 8. Chapter 6: Setting up keyboard shortcuts 9. Chapter 7: Hidden Windows Terminal Actions 10. Chapter 8: Tips for using PowerShell like a Pro 11. Chapter 9: Tips for Using Ubuntu like an Expert 12. Section 3: Using your Windows Terminal for development
13. Chapter 10: Using Git and GitHub with Windows Terminal 14. Chapter 11: Building web applications with React 15. Chapter 12: Building REST APIs with C# and Windows Terminal 16. Chapter 13: Connecting to remote systems 17. Chapter 14: Managing systems in the cloud 18. Other Books You May Enjoy Appendix Windows Terminal Actions

Launching Windows Terminal

It's worth spending some time reviewing how to efficiently start our Windows Terminal, as it's something we'll be doing frequently!

The normal way to start Windows Terminal is to select it from the Start menu, either by selecting the icon using the mouse or typing out the words windows terminal in the Start menu search bar.

Luckily, there are faster ways. Windows Terminal ships with a binary, wt.exe, that can be used to quickly start the terminal. Press wt<enter> from the Start menu, Run dialog, or Windows Explorer location bar to open the terminal. wt.exe has several interesting command-line flags, such as -F to launch in fullscreen mode. We'll learn more about the capabilities of wt.exe in Chapter 6, Setting up keyboard shortcuts.

An additional way to start Windows Terminal is to use the taskbar keyboard shortcuts, such as Win + 1, Win + 2, and so on. Pin the application to the taskbar by finding the Windows Terminal application in the Start menu, right-clicking it, and choosing Pin to taskbar. Then, on the taskbar, drag the Windows Terminal icon all the way to the left so it's the leftmost icon. Now, pressing Win + 1 will launch Windows Terminal, or bring it into the foreground if it's already open:

Figure 1.13 –Windows Terminal pinned to the taskbar in the first position

Figure 1.13 –Windows Terminal pinned to the taskbar in the first position

Now that we have the Windows Terminal pinned to the taskbar, we can right-click on the icon to open a Jump List Menu, where we can open Windows Terminal directly to our desired shell:

Figure 1.14 – The Windows 10 Jump List for the Windows Terminal

Figure 1.14 – The Windows 10 Jump List for the Windows Terminal

The final way we'll learn to open Windows Terminal is from Windows Explorer. Open Windows Explorer (Win + E) and then right-click any directory. Select the Open in Windows Terminal menu item to open that directory in Windows Terminal. Additionally, right-clicking or pressing Shift and right-clicking on the background of Windows Explorer shows an Open Windows Terminal here menu option that will open the current directory in Windows Terminal:

Figure 1.15 – The Open in Windows Terminal context menu item

Figure 1.15 – The Open in Windows Terminal context menu item

You have been reading a chapter from
Windows Terminal Tips, Tricks, and Productivity Hacks
Published in: Apr 2021
Publisher: Packt
ISBN-13: 9781800207561
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime