Skip to content

truopensource/terminal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

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>