Lab 3

 

>allows the user to input text and using control c paste it

Cat

 

<   –allows the user to see the content inside a file in this case the file was helloworld.txt

cat2

 

|  – it reads the input that given and and copy  ls|less

ls|less

 

grep-
this command  searches for a pattern, for example in this picture I used pic and below you will see all the files that has pic in its name.

grep

 

head-This command is used  to print the first 10 line of a file

head54

 

 

tail- this command is used  to print the last 10 lines of a file

tail

 

echo- is a command that prints out what ever you input as an output like cout in c++.

 

echo

Leave a Reply

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