Basic Terminal Usage - Cheat Sheet to make the command line EASY

2 years ago
16

Freak out no more...here's how to use the terminal/command line! Using the terminal is EASY, and more importantly, it's a HUGE part of being a web developer these days. If you avoid the terminal, it will only hold you back. This tutorial will teach you how to use the command line in a few easy steps. You'll be comfortable in no time.

ls - list files
cd {directory name} - change directory
cd / - go to root (top) directory
cd ~ - go to user home directory
cd .. - go up a level
mkdir {file name} - make a directory
touch {filename} - create an empty file
rm {filename} - remove a file
rm -r {directory name} - remove a directory and all files within
mv {filename} {new filename} - rename a file or folder
open {filename} - open file in default program
open {filename} -a "{program name}" - open file in specific application
open . - open current directory

HOT KEYS
Command+k - clear the terminal screen
Tab - autocomplete (if more than one files match, nothing happens, you will need to add more characters)
Up/Down Arrows - previous commands

Visit Our Website : https://metapayclicks.com
Telegram channel : https://t.me/metapayclicks
Facebook page : https://www.facebook.com/metapayclicks/
Linkedin : https://www.linkedin.com/company/mpc-network/
Twitter : https://twitter.com/MetapayC
locals.com : https://locals.com/member/MetaPayC
Instagram : https://www.instagram.com/metapayclicks/
Tumblr : https://metapayclicks.tumblr.com/
Youtube Channel : https://www.youtube.com/channel/UCwAamK7hbpF51HcPgJSTuVA
Flickr : https://www.flickr.com/photos/196588923@N04/

Tiktok : https://www.tiktok.com/@metapayc

Dribbble : https://dribbble.com/metapayc

Vk : https://vk.com/id752424948

Reddit : https://www.reddit.com/user/MetaPayC

Loading comments...