FLOSSK site

LinuxCourse/Lesson2

From FLOSSK Wiki

Jump to: navigation, search

Second one:

  1  history
   2  #CTRL + L
   3  clear
   4  history
   5  ls
   6  STDOUT

http://www.youtube.com/watch?v=GhlPEMhsgtM

   7  #STDOUT
   8  #STDOUT is display to the screen
   9  echo STDOUT is display to the screen
  10  echo # name of the program
  11  echo hello # first argument
  12  echohello
  13  which
  14  which ls
  15  ls --color=tty
  16  which echo
  17  /bin/echo
  18  /bin/echo hello
  19  help echo
  20  help
  21  help alias
  22  which alias
  23  path
  24  echo $PATH
  25  set 
  26  echo PATH $PATH
  27  echo PATH $PATH | cut -d: -f1
  28  echo PATH $PATH | cut -d: -f2
  29  echo PATH $PATH | cut -d: -f3
  30  echo PATH $PATH | cut -d: -f3-7
  31  echo PATH $PATH | cut "-d\"" -f3-7
  32  echo PATH $PATH | cut "-d\"" -f1
  33  echo PATH $PATH | cut "-d " -f1
  34  echo PATH $PATH | cut "-d " -f2
  35  echo PATH $PATH | cut "-d " -f1
  36  history

http://www.youtube.com/watch?v=ZRd8eV-Suf0&feature=channel_page