Saturday, July 26, 2014

more in linux/unix

  1. Read/scan the man page for more with the command:
    
         man more 
         
  2. Use the more command to read a file:
    
         more   filename 
         
  3. As you are reading, notice the "More" prompt at the bottom of the page.
  4. Try pressing the return key - what happens?
  5. Try pressing the space bar once - what happens?
  6. Type the letter b - what happens?
  7. Use the search forward feature to find a word say, "MARCH" by entering the command:
    
         /MARCH 
         
  8. Now use the search backward feature to find a string of words say, "black hole" by entering the command:
     
         ?black hole 
         
  9. more will continue until the end of the file is reached or until you type q for quit. Try typing q to quit.

0 comments:

Post a Comment