Lab 3

In this lab we learn the functions of various commands using a linux terminal. The commands are listed below with a description and screenshot of its behaviour.

Command >: Redirects output

Command <: Redirects input

Command |: makes output of one command the input of another

Command grep: helps find patterns in files

Command head: prints first 10 lines of file

Command tail: prints last ten lines of a file

Command echo: displays a line of text

Screenshots:

Screenshot from 2014-10-22 11:13:37 Screenshot from 2014-10-22 11:18:49 Screenshot from 2014-10-22 11:25:23 Screenshot from 2014-10-22 11:25:32 Screenshot from 2014-10-22 11:29:29 Screenshot from 2014-10-22 11:30:59 Screenshot from 2014-10-22 11:31:45

Leave a Reply

Your email address will not be published. Required fields are marked *