CD to Linux Home Directory

Image by OpenClipart-Vectors from Pixabay


We want to CD to the linux home directory.


The character ~ repesents the home directory. So we can type:

cd ~

However cd without the character works equally well.

Also to cd back to where you came from type:

cd -

Founder of Firefly Semantics Corporation

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

A Spark plugin for CPU and memory profiling

GameDevHq Day 3: Lets just say Day 3 was Day 2

Scrolling in a horizontal UIStackView with Storyboard

Gitcoin’s Sprint To The Holidays

3 Kubernetes terminal hacks

High Definition Render Pipeline in Unity

Build your own .NET memory profiler in C# — call stacks (2/2–1)

Harrellbm Proof of Value Report, January 2022

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ole Ersoy

Ole Ersoy

Founder of Firefly Semantics Corporation

More from Medium

Getting Started with Git | Git Command

Git and Github — TechnoPals

The solution for garbled file names in git diff output

Using Git Like A Pro