Skip to content

Latest commit

 

History

History
36 lines (30 loc) · 661 Bytes

bash-terminal.md

File metadata and controls

36 lines (30 loc) · 661 Bytes

Bash Shell Basics

What is the BASH shell?

Make Your Shell Look Pretty

Basic BASH Commands

$> cd ~
Command Description Example
ls list directory contents ls
cd change directory cd MyFolder\SubFolder
cp copy a file cp oldfile.name newfile.name
mv move or rename mv myfile.txt ../SomeFolder/myfile.txt
mkdir make a directory mkdir MyFolder
pwd current working directory pwd
rmdir remove a directory rmdir MyFolder
clear clear the screen clear
chmod change file permissions chmod +x myfile.txt
echo
touch
grep
locate
which
less
cat
head
tail
ps
kill
alias