Skip to content

Latest commit

 

History

History
70 lines (46 loc) · 860 Bytes

README.md

File metadata and controls

70 lines (46 loc) · 860 Bytes

Scare your friends and family with Terminal

Welcome to Hacktoberfests first tutorial, an intro to terminal.

Windows Users

Download Git Bash here. Windows uses a different interface for interacting with your computer (Command Prompt). For simplicity, we will all work in Bash.

Commands

Prints to the screen.

echo "Some Text"

Displays the present working directory.

pwd

List the contents of the directory you're currently in.

ls

Change Directories.

clear

Clears the console's content.

cd <directory>

Creates a file.

touch <filename>

Creates a directory.

mkdir <dirname>

Reads a file sequentially.

cat <filename>

Removes files.

rm <filename>

Removes a directory.

rm -r <directory>