Agenda


  • launch terminal/shell
  • use terminal in RStudio
  • run command from R using system()
  • run shell script
  • file management
  • system management
  • navigating file system
  • help/documentation
  • compression commands
  • keyboard shortcuts
  • search & regular expressions
  • input/output
  • network
  • funny commands
  • others

File Management


  • cp/copy
  • mv/move
  • rm/del/erase
  • comp/fc
  • replace
  • ren
  • diff
  • type

System Management


  • shutdown
  • free
  • df
  • uname
  • sudo
  • touch

Help/Documentation


  • man
  • whatis
  • history

Compression Commands


  • tar
  • unzip
  • gzip

Keyboard Shortcuts


  • Ctrl + C
  • Ctrl + D
  • Ctrl + W
  • Ctrl + U
  • Ctrl + R

Search & Regular Expressions


  • grep
  • find
  • locate
  • which
  • findstr
  • where

Input/Output


  • echo
  • pr
  • cat
  • head
  • tail
  • more
  • less
  • sort
  • wc
  • cls/clear

Network


  • wget
  • curl
  • hostname
  • ping
  • nslookup

User Information


  • finger
  • groups
  • who/w
  • whoami

Funny Commands


  • fortune
  • yes
  • banner
  • rev

Others


  • exit
  • date
  • time
  • color
  • cal
  • start
  • sleep

References