These are a few of my favorite: Terminal Shortcuts
Tags: terminal, programming, devtips, beginners
Published: 2017-07-28 18:44:36

---
title: "These are a few of my favorite: Terminal Shortcuts"
published: true
description: "Beginner Fridendly"
tags: terminal, programming, devtips, beginners
---

Terminal: an interface where the user types and executes text based commands.

![ISSA Terminal](https://cdn-images-1.medium.com/max/1600/1*gqrgBeHFb3--L-EvyTefiw.png)

I’ll admit that when I first opened the terminal in 2014, I disliked it. At the time, I strongly believed that using a Graphical User Interface, such as Finder on Mac, was much faster for things like deleting, copying, and creating files and folders. The tutorials and articles I would read kept insisting that the terminal was ðŸ”‘, though, so I kept going.
I’m glad I pushed through and kept learning to use the terminal! Eventually, with practice and consistency, the understanding and speed came. Now I barely use the GUI for managing my file system.
That said, the road wasn’t all smooth. There were a lot of terminal commands thrown at me during my journey. How was I supposed to memorize all of them??!!? At once?!?!
![](https://cdn-images-1.medium.com/max/1600/1*jFqEKlJaxyIW4d6tYFaLoQ.png)
To prevent you from going through the same anxieties. I compiled a list of my Top Fave â¤ï¸ Terminal shortcuts. ðŸ˜

`ls` List files and directories (Folders)

![](https://cdn-images-1.medium.com/max/1600/1*WVpJFhZJSNYuKUCsn7nigw.png)


---

`cd` Change directory
`pwd` Print Working Directory (Shows the full pathname of the current working directory)

![](https://cdn-images-1.medium.com/max/1600/1*ohlYTlQQNLIY6kw9-LBhKA.png)

---

`touch` Create a new file

![](https://cdn-images-1.medium.com/max/1600/1*2BSEFMDP86UIGBqy4VOeAg.png)

---

`mkdir` Create a new directory

![](https://cdn-images-1.medium.com/max/1600/1*n4mBGc-qUP0e24kd4tIa8Q.png)

---

`cp` Copy files or directories

![](https://cdn-images-1.medium.com/max/1600/1*eIvuvVo1fJiXCE0TCMmg0w.png)

---

`mv` Move (rename) files or directories

![](https://cdn-images-1.medium.com/max/1600/1*fodlHdNmGnlwZnyjTEy07Q.png)

---

`rm` Remove files
`rm -r` Remove Directories & files in
Note: Therm command is really powerful. It deletes files/directories without recovery. (It doesn’t go to the trash bin)

![](https://cdn-images-1.medium.com/max/1600/1*8kSU6qpk_lJiDiUkc9k9OQ.png)

---

`Ctrl + A` Gets the cursor at the beginning of the line
`Ctrl + E` Gets the cursor to the end.

![](https://cdn-images-1.medium.com/max/1600/1*8Nx-FAiARb4ja5141k647w.gif)

---

`Cmd + k` (Mac) `Ctrl + L (Linux/Mac) Clears the Terminal Screen

![](https://cdn-images-1.medium.com/max/1600/1*u8oeI0D27nFfA_G--kz9zg.gif)

---

And now for my absolute favorite â¤ï¸: Tab auto-completion!

If you’re trying to remember a command, type at least one letter and hit tab twice and it will show you all the commands available based on the typed characters. If you type enough characters and only one match is left then it’ll auto-complete it for you. This works with all UNIX commands and even your file system.

![](https://cdn-images-1.medium.com/max/1600/1*Sw5i7Fnc0-y9GbjDrMCeag.gif)
---

Now go on and jump into your terminal, start playing with it & work your way towards becoming the terminal-ator. ðŸ˜Ž


---

If you liked this post, make sure to hit the hit the green heart! ðŸ’š
For more puns and code tips follow my journey on twitter <a href="https://twitter.com/clickclickonsal">@clickclickonsal</a>
Join the Color Coded slack community by visiting our <a href="http://wearecolorcoded.us/#mc_embed_signup_scroll">site</a> and stay in the loop.

<em>This article originally published on the <a href="https://medium.com/@clickclickonsal/am-i-still-a-junior-developer-1cb0a00ae7ea#.32xfkg8dn">Color Coded Medium publication</a></em>