際際滷

際際滷Share a Scribd company logo
Command Line
From zero to hero.
Using the command line on macOS
What is a shell?
Look, a shell! !>
* Unix pioneered shells.

* Shells are computer programs [Bash, ZSH, Fish, etc]

* You can talk to your OS by issuing commands to the shell, in a
command line interface / terminal.

* You can change your default shell using chsh
Which shell does macOS use?
Did you just say GPL?
* macOS used to use a very old version of bash, the most popular and
well known shell.

* Newest versions of Bash use GPL3 License. Shipping this with
macOS would mean Apple would need to publish source code for their
programs, which sounds like it would empower the user.

* macOS now uses zsh
So what programs can you run?
Anything that is in PATH
If you run echo $PATH you can see places where programs are
loaded from for your current shell session
.

Traditionally: /usr/bi
n

Modern: /usr/local/bin (<! This is where home-brew puts its programs
)

You can run apropos and a search term to find programs that match
your term, i.e apropos text editing
How to use a program
Conventions help discovery
ProgramName -f flagValue input


ProgramName --flag flagValue input
Unix + File Systems
Everything is a
fi
le
Using the command line on macOS
Files, Files & More Files
Things you can do with
fi
les
* ls <- List files

* ls -la <- List files including hidden files (start with a .)

* file my_file.txt <- Describe file

* pwd <- Where am I in the filesystem?

* cd aDirectory/ <- change directory to aDirectory

* cd ~ <- change directory to home

* rm aFile ~ <- Remove a file

* rm -rf aDirectory/ ~ <- Remove a directory
History
Re-running commands
* Press up on D-Pad to get last command
* Ctrl + R <- search over history of previous commands
.

* sudo !! <- Rerun last command as Sudo
Pipes
Take output from one command, use it in another
cat file.txt | grep ^a string I think is in this file ̄


cat file.txt | wc -l
Copy & Paste
pbcopy < file.txt


pbpaste > file.txt
pbpaste >> file.txt
Overwrite
Append
Symlinks
* ln ~/some_folder/some_file <- hard link a file

* ln -s ~/some_folder/some_file <- soft link a file
Backgrounding Processes
* Ctrl+Z <- background current process.

* fg <- re-focus process.
De
fi
ne an alias
Run alias to see all aliases currently load in the shell
Profiles + Custom Configuration
~/.zshrc
Change this, and source it (or restart your terminal)
Cool stuff I use
* fzf <- Fuzzy finder

* oh-my-zsh <- Lots of additions to zsh + plugin support (I use git + fzf
plugins)

* jenv, pyenv, rvm, nvm <- Language managers

* tmux <- Terminal multiplexer

* rg <- Ripgrep, much faster that grep

More Related Content

What's hot (19)

Linux commands
Linux commandsLinux commands
Linux commands
U.P Police
?
Top 10 Random Linux/Ubuntu Commands
Top 10 Random Linux/Ubuntu CommandsTop 10 Random Linux/Ubuntu Commands
Top 10 Random Linux/Ubuntu Commands
Yusuf Felly
?
Basic linux commands
Basic linux commandsBasic linux commands
Basic linux commands
Shakeel Shafiq
?
Linux command line
Linux command lineLinux command line
Linux command line
fernando valenzuela hern│ndez
?
Linux basics
Linux basicsLinux basics
Linux basics
BhaskarNeeluru
?
3.1.a linux commands reference
3.1.a linux commands reference3.1.a linux commands reference
3.1.a linux commands reference
Ac│cio Oliveira
?
Linux command for beginners
Linux command for beginnersLinux command for beginners
Linux command for beginners
SuKyeong Jang
?
Linux cheat-sheet
Linux cheat-sheetLinux cheat-sheet
Linux cheat-sheet
Craig Cannon
?
Basic command ppt
Basic command pptBasic command ppt
Basic command ppt
Rohit Kumar
?
One Page Linux Manual
One Page Linux ManualOne Page Linux Manual
One Page Linux Manual
dummy
?
Module 02 Using Linux Command Shell
Module 02 Using Linux Command ShellModule 02 Using Linux Command Shell
Module 02 Using Linux Command Shell
Tushar B Kute
?
Linux cheat sheet
Linux cheat sheetLinux cheat sheet
Linux cheat sheet
Dimitris Kyrgiafinis
?
Linux Commands
Linux CommandsLinux Commands
Linux Commands
sundas Shabbir
?
Basic linux bash
Basic linux bashBasic linux bash
Basic linux bash
隗x
?
[PDF] 2021 Termux basic commands list
[PDF] 2021 Termux basic commands list [PDF] 2021 Termux basic commands list
[PDF] 2021 Termux basic commands list
nisivaasdfghj
?
Basic unix commands
Basic unix commandsBasic unix commands
Basic unix commands
swtjerin4u
?
Compression
CompressionCompression
Compression
aswathyu
?
Unix Command-Line Cheat Sheet BTI2014
Unix Command-Line Cheat Sheet BTI2014Unix Command-Line Cheat Sheet BTI2014
Unix Command-Line Cheat Sheet BTI2014
No└ Fern│ndez-Pozo
?
Unix for Librarians
Unix for LibrariansUnix for Librarians
Unix for Librarians
Ravi Mynampaty
?

Similar to Using the command line on macOS (20)

Linux basic for CADD biologist
Linux basic for CADD biologistLinux basic for CADD biologist
Linux basic for CADD biologist
Ajay Murali
?
Linux Basic Commands
Linux Basic CommandsLinux Basic Commands
Linux Basic Commands
Hanan Nmr
?
8.1.intro unix
8.1.intro unix8.1.intro unix
8.1.intro unix
southees
?
BITS: Introduction to Linux - Text manipulation tools for bioinformatics
BITS: Introduction to Linux - Text manipulation tools for bioinformaticsBITS: Introduction to Linux - Text manipulation tools for bioinformatics
BITS: Introduction to Linux - Text manipulation tools for bioinformatics
BITS
?
Directories description
Directories descriptionDirectories description
Directories description
Dr.M.Karthika parthasarathy
?
Linux Presentation
Linux PresentationLinux Presentation
Linux Presentation
Muhammad Qazi
?
An Introduction to Linux
An Introduction to LinuxAn Introduction to Linux
An Introduction to Linux
Dimas Prasetyo
?
Unix Basics For Testers
Unix Basics For TestersUnix Basics For Testers
Unix Basics For Testers
nitin lakhanpal
?
linux cmds.pptx
linux cmds.pptxlinux cmds.pptx
linux cmds.pptx
divyanshianand3
?
OS-Module 2 Linux Programming Important topics
OS-Module 2 Linux Programming Important topicsOS-Module 2 Linux Programming Important topics
OS-Module 2 Linux Programming Important topics
JithinS34
?
Examples -partII
Examples -partIIExamples -partII
Examples -partII
Kedar Bhandari
?
Command Line Tools
Command Line ToolsCommand Line Tools
Command Line Tools
David Harris
?
50 most frequently used unix
50 most frequently used unix50 most frequently used unix
50 most frequently used unix
Teja Bheemanapally
?
50 most frequently used unix
50 most frequently used unix50 most frequently used unix
50 most frequently used unix
Teja Bheemanapally
?
Shell_Scripting.ppt
Shell_Scripting.pptShell_Scripting.ppt
Shell_Scripting.ppt
KiranMantri
?
Using Unix
Using UnixUsing Unix
Using Unix
Dr.Ravi
?
Linux shell scripting
Linux shell scriptingLinux shell scripting
Linux shell scripting
Mohamed Abubakar Sittik A
?
Linux
LinuxLinux
Linux
Rathan Raj
?
Unix Linux Commands Presentation 2013
Unix Linux Commands Presentation 2013Unix Linux Commands Presentation 2013
Unix Linux Commands Presentation 2013
Wave Digitech
?
Module 3 Using Linux Softwares.
Module 3 Using Linux Softwares.Module 3 Using Linux Softwares.
Module 3 Using Linux Softwares.
Tushar B Kute
?
Linux basic for CADD biologist
Linux basic for CADD biologistLinux basic for CADD biologist
Linux basic for CADD biologist
Ajay Murali
?
Linux Basic Commands
Linux Basic CommandsLinux Basic Commands
Linux Basic Commands
Hanan Nmr
?
8.1.intro unix
8.1.intro unix8.1.intro unix
8.1.intro unix
southees
?
BITS: Introduction to Linux - Text manipulation tools for bioinformatics
BITS: Introduction to Linux - Text manipulation tools for bioinformaticsBITS: Introduction to Linux - Text manipulation tools for bioinformatics
BITS: Introduction to Linux - Text manipulation tools for bioinformatics
BITS
?
OS-Module 2 Linux Programming Important topics
OS-Module 2 Linux Programming Important topicsOS-Module 2 Linux Programming Important topics
OS-Module 2 Linux Programming Important topics
JithinS34
?
Shell_Scripting.ppt
Shell_Scripting.pptShell_Scripting.ppt
Shell_Scripting.ppt
KiranMantri
?
Unix Linux Commands Presentation 2013
Unix Linux Commands Presentation 2013Unix Linux Commands Presentation 2013
Unix Linux Commands Presentation 2013
Wave Digitech
?
Module 3 Using Linux Softwares.
Module 3 Using Linux Softwares.Module 3 Using Linux Softwares.
Module 3 Using Linux Softwares.
Tushar B Kute
?

Recently uploaded (20)

"Client Partnership ! the Path to Exponential Growth for Companies Sized 50-5...
"Client Partnership ! the Path to Exponential Growth for Companies Sized 50-5..."Client Partnership ! the Path to Exponential Growth for Companies Sized 50-5...
"Client Partnership ! the Path to Exponential Growth for Companies Sized 50-5...
Fwdays
?
"Rebranding for Growth", Anna Velykoivanenko
"Rebranding for Growth", Anna Velykoivanenko"Rebranding for Growth", Anna Velykoivanenko
"Rebranding for Growth", Anna Velykoivanenko
Fwdays
?
Semantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AISemantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AI
artmondano
?
ICT IS FOR LIFE-LONG LEARNING AND TEACHER PROFESSIONAL DEVELOPMENT
ICT IS FOR LIFE-LONG LEARNING AND TEACHER PROFESSIONAL DEVELOPMENTICT IS FOR LIFE-LONG LEARNING AND TEACHER PROFESSIONAL DEVELOPMENT
ICT IS FOR LIFE-LONG LEARNING AND TEACHER PROFESSIONAL DEVELOPMENT
falakzehra17
?
Automation Hour 1/28/2022: Capture User Feedback from Anywhere
Automation Hour 1/28/2022: Capture User Feedback from AnywhereAutomation Hour 1/28/2022: Capture User Feedback from Anywhere
Automation Hour 1/28/2022: Capture User Feedback from Anywhere
Lynda Kane
?
Presentation Session 5 Transition roadmap.pdf
Presentation Session 5 Transition roadmap.pdfPresentation Session 5 Transition roadmap.pdf
Presentation Session 5 Transition roadmap.pdf
Mukesh Kala
?
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager APIUiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPathCommunity
?
Powering a Billion Dreams: Scaling Meesho¨s E-commerce Revolution with Scylla...
Powering a Billion Dreams: Scaling Meesho¨s E-commerce Revolution with Scylla...Powering a Billion Dreams: Scaling Meesho¨s E-commerce Revolution with Scylla...
Powering a Billion Dreams: Scaling Meesho¨s E-commerce Revolution with Scylla...
ScyllaDB
?
Dead Pixel: A Practical Guide to Attacking Server-Side Image Processors (BSid...
Dead Pixel: A Practical Guide to Attacking Server-Side Image Processors (BSid...Dead Pixel: A Practical Guide to Attacking Server-Side Image Processors (BSid...
Dead Pixel: A Practical Guide to Attacking Server-Side Image Processors (BSid...
neexemil
?
Top 10 Content Writing Services in 2025.pdf
Top 10 Content Writing Services in 2025.pdfTop 10 Content Writing Services in 2025.pdf
Top 10 Content Writing Services in 2025.pdf
BookWizard Co.
?
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc
?
Cisco Certified Support Technician Networking Certificate
Cisco Certified Support Technician Networking CertificateCisco Certified Support Technician Networking Certificate
Cisco Certified Support Technician Networking Certificate
VICTOR MAESTRE RAMIREZ
?
THE FUTURE OF REAL ESTATE: EXPLORING THE METAVERSE
THE FUTURE OF REAL ESTATE: EXPLORING THE METAVERSETHE FUTURE OF REAL ESTATE: EXPLORING THE METAVERSE
THE FUTURE OF REAL ESTATE: EXPLORING THE METAVERSE
Abhiwan Technology
?
beginning_lambda_minimium_of_40_length.pptx
beginning_lambda_minimium_of_40_length.pptxbeginning_lambda_minimium_of_40_length.pptx
beginning_lambda_minimium_of_40_length.pptx
ShashankER1
?
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
SOFTTECHHUB
?
Kualitatem¨s Cybersecurity Risk Assessment
Kualitatem¨s Cybersecurity Risk AssessmentKualitatem¨s Cybersecurity Risk Assessment
Kualitatem¨s Cybersecurity Risk Assessment
Kualitatem Inc
?
掘鴛皆-珂温稼顎韓温界岳顎姻庄稼乙-粥鴛C永姻看糸顎界岳-禽温岳温-或沿岳庄馨庄噛温岳庄看稼-安艶恢庄稼温姻-2025.沿沿岳恰
掘鴛皆-珂温稼顎韓温界岳顎姻庄稼乙-粥鴛C永姻看糸顎界岳-禽温岳温-或沿岳庄馨庄噛温岳庄看稼-安艶恢庄稼温姻-2025.沿沿岳恰掘鴛皆-珂温稼顎韓温界岳顎姻庄稼乙-粥鴛C永姻看糸顎界岳-禽温岳温-或沿岳庄馨庄噛温岳庄看稼-安艶恢庄稼温姻-2025.沿沿岳恰
掘鴛皆-珂温稼顎韓温界岳顎姻庄稼乙-粥鴛C永姻看糸顎界岳-禽温岳温-或沿岳庄馨庄噛温岳庄看稼-安艶恢庄稼温姻-2025.沿沿岳恰
Earley Information Science
?
Automation Dreamin': Capture User Feedback From Anywhere
Automation Dreamin': Capture User Feedback From AnywhereAutomation Dreamin': Capture User Feedback From Anywhere
Automation Dreamin': Capture User Feedback From Anywhere
Lynda Kane
?
Why "Smart" AI Isn't Enough for Telecom Anymore
Why "Smart" AI Isn't Enough for Telecom AnymoreWhy "Smart" AI Isn't Enough for Telecom Anymore
Why "Smart" AI Isn't Enough for Telecom Anymore
Phoenix Intelligence
?
Buckeye Dreamin' 2023: De-fogging Debug Logs
Buckeye Dreamin' 2023: De-fogging Debug LogsBuckeye Dreamin' 2023: De-fogging Debug Logs
Buckeye Dreamin' 2023: De-fogging Debug Logs
Lynda Kane
?
"Client Partnership ! the Path to Exponential Growth for Companies Sized 50-5...
"Client Partnership ! the Path to Exponential Growth for Companies Sized 50-5..."Client Partnership ! the Path to Exponential Growth for Companies Sized 50-5...
"Client Partnership ! the Path to Exponential Growth for Companies Sized 50-5...
Fwdays
?
"Rebranding for Growth", Anna Velykoivanenko
"Rebranding for Growth", Anna Velykoivanenko"Rebranding for Growth", Anna Velykoivanenko
"Rebranding for Growth", Anna Velykoivanenko
Fwdays
?
Semantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AISemantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AI
artmondano
?
ICT IS FOR LIFE-LONG LEARNING AND TEACHER PROFESSIONAL DEVELOPMENT
ICT IS FOR LIFE-LONG LEARNING AND TEACHER PROFESSIONAL DEVELOPMENTICT IS FOR LIFE-LONG LEARNING AND TEACHER PROFESSIONAL DEVELOPMENT
ICT IS FOR LIFE-LONG LEARNING AND TEACHER PROFESSIONAL DEVELOPMENT
falakzehra17
?
Automation Hour 1/28/2022: Capture User Feedback from Anywhere
Automation Hour 1/28/2022: Capture User Feedback from AnywhereAutomation Hour 1/28/2022: Capture User Feedback from Anywhere
Automation Hour 1/28/2022: Capture User Feedback from Anywhere
Lynda Kane
?
Presentation Session 5 Transition roadmap.pdf
Presentation Session 5 Transition roadmap.pdfPresentation Session 5 Transition roadmap.pdf
Presentation Session 5 Transition roadmap.pdf
Mukesh Kala
?
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager APIUiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPathCommunity
?
Powering a Billion Dreams: Scaling Meesho¨s E-commerce Revolution with Scylla...
Powering a Billion Dreams: Scaling Meesho¨s E-commerce Revolution with Scylla...Powering a Billion Dreams: Scaling Meesho¨s E-commerce Revolution with Scylla...
Powering a Billion Dreams: Scaling Meesho¨s E-commerce Revolution with Scylla...
ScyllaDB
?
Dead Pixel: A Practical Guide to Attacking Server-Side Image Processors (BSid...
Dead Pixel: A Practical Guide to Attacking Server-Side Image Processors (BSid...Dead Pixel: A Practical Guide to Attacking Server-Side Image Processors (BSid...
Dead Pixel: A Practical Guide to Attacking Server-Side Image Processors (BSid...
neexemil
?
Top 10 Content Writing Services in 2025.pdf
Top 10 Content Writing Services in 2025.pdfTop 10 Content Writing Services in 2025.pdf
Top 10 Content Writing Services in 2025.pdf
BookWizard Co.
?
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc
?
Cisco Certified Support Technician Networking Certificate
Cisco Certified Support Technician Networking CertificateCisco Certified Support Technician Networking Certificate
Cisco Certified Support Technician Networking Certificate
VICTOR MAESTRE RAMIREZ
?
THE FUTURE OF REAL ESTATE: EXPLORING THE METAVERSE
THE FUTURE OF REAL ESTATE: EXPLORING THE METAVERSETHE FUTURE OF REAL ESTATE: EXPLORING THE METAVERSE
THE FUTURE OF REAL ESTATE: EXPLORING THE METAVERSE
Abhiwan Technology
?
beginning_lambda_minimium_of_40_length.pptx
beginning_lambda_minimium_of_40_length.pptxbeginning_lambda_minimium_of_40_length.pptx
beginning_lambda_minimium_of_40_length.pptx
ShashankER1
?
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
SOFTTECHHUB
?
Kualitatem¨s Cybersecurity Risk Assessment
Kualitatem¨s Cybersecurity Risk AssessmentKualitatem¨s Cybersecurity Risk Assessment
Kualitatem¨s Cybersecurity Risk Assessment
Kualitatem Inc
?
掘鴛皆-珂温稼顎韓温界岳顎姻庄稼乙-粥鴛C永姻看糸顎界岳-禽温岳温-或沿岳庄馨庄噛温岳庄看稼-安艶恢庄稼温姻-2025.沿沿岳恰
掘鴛皆-珂温稼顎韓温界岳顎姻庄稼乙-粥鴛C永姻看糸顎界岳-禽温岳温-或沿岳庄馨庄噛温岳庄看稼-安艶恢庄稼温姻-2025.沿沿岳恰掘鴛皆-珂温稼顎韓温界岳顎姻庄稼乙-粥鴛C永姻看糸顎界岳-禽温岳温-或沿岳庄馨庄噛温岳庄看稼-安艶恢庄稼温姻-2025.沿沿岳恰
掘鴛皆-珂温稼顎韓温界岳顎姻庄稼乙-粥鴛C永姻看糸顎界岳-禽温岳温-或沿岳庄馨庄噛温岳庄看稼-安艶恢庄稼温姻-2025.沿沿岳恰
Earley Information Science
?
Automation Dreamin': Capture User Feedback From Anywhere
Automation Dreamin': Capture User Feedback From AnywhereAutomation Dreamin': Capture User Feedback From Anywhere
Automation Dreamin': Capture User Feedback From Anywhere
Lynda Kane
?
Why "Smart" AI Isn't Enough for Telecom Anymore
Why "Smart" AI Isn't Enough for Telecom AnymoreWhy "Smart" AI Isn't Enough for Telecom Anymore
Why "Smart" AI Isn't Enough for Telecom Anymore
Phoenix Intelligence
?
Buckeye Dreamin' 2023: De-fogging Debug Logs
Buckeye Dreamin' 2023: De-fogging Debug LogsBuckeye Dreamin' 2023: De-fogging Debug Logs
Buckeye Dreamin' 2023: De-fogging Debug Logs
Lynda Kane
?

Using the command line on macOS

  • 3. What is a shell? Look, a shell! !> * Unix pioneered shells. * Shells are computer programs [Bash, ZSH, Fish, etc] * You can talk to your OS by issuing commands to the shell, in a command line interface / terminal. * You can change your default shell using chsh
  • 4. Which shell does macOS use? Did you just say GPL? * macOS used to use a very old version of bash, the most popular and well known shell. * Newest versions of Bash use GPL3 License. Shipping this with macOS would mean Apple would need to publish source code for their programs, which sounds like it would empower the user. * macOS now uses zsh
  • 5. So what programs can you run? Anything that is in PATH If you run echo $PATH you can see places where programs are loaded from for your current shell session . Traditionally: /usr/bi n Modern: /usr/local/bin (<! This is where home-brew puts its programs ) You can run apropos and a search term to find programs that match your term, i.e apropos text editing
  • 6. How to use a program Conventions help discovery ProgramName -f flagValue input ProgramName --flag flagValue input
  • 7. Unix + File Systems Everything is a fi le
  • 9. Files, Files & More Files Things you can do with fi les * ls <- List files * ls -la <- List files including hidden files (start with a .) * file my_file.txt <- Describe file * pwd <- Where am I in the filesystem? * cd aDirectory/ <- change directory to aDirectory * cd ~ <- change directory to home * rm aFile ~ <- Remove a file * rm -rf aDirectory/ ~ <- Remove a directory
  • 10. History Re-running commands * Press up on D-Pad to get last command * Ctrl + R <- search over history of previous commands . * sudo !! <- Rerun last command as Sudo
  • 11. Pipes Take output from one command, use it in another cat file.txt | grep ^a string I think is in this file ̄ cat file.txt | wc -l
  • 12. Copy & Paste pbcopy < file.txt pbpaste > file.txt pbpaste >> file.txt Overwrite Append
  • 13. Symlinks * ln ~/some_folder/some_file <- hard link a file * ln -s ~/some_folder/some_file <- soft link a file
  • 14. Backgrounding Processes * Ctrl+Z <- background current process. * fg <- re-focus process.
  • 15. De fi ne an alias Run alias to see all aliases currently load in the shell
  • 16. Profiles + Custom Configuration ~/.zshrc Change this, and source it (or restart your terminal)
  • 17. Cool stuff I use * fzf <- Fuzzy finder * oh-my-zsh <- Lots of additions to zsh + plugin support (I use git + fzf plugins) * jenv, pyenv, rvm, nvm <- Language managers * tmux <- Terminal multiplexer * rg <- Ripgrep, much faster that grep