Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Terminal commands

  • ls - list directory
  • pwd - print working directory
  • cd - change directory
  • whoami
  • cat - print whole file
  • head - show file from the start
  • tail - show file from the end
  • grep - search for text in [file]
  • echo - prints text
  • touch - touch file (create if doesn't exist)
  • rm - remove file
  • mkdir - create a new directory
  • tldr - show short help
grep -n -B 2 -A 1 head README.md
echo hello >> README.md 

echo Hello world > main.py
# mac:
brew install tldr

# *ubuntu:
apt install -y tldr