lab1 - head -15 science.txt 5. What is the command to view...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Tanisha Billups LAB 1: INTRO TO UNIX 1. In exercise 1a, show the command you used. mkdir backups 2. What does the following command do: % ls ~? list files and directories in home directory 3. In exercise 2a, show the command you used. cp science.txt science.bak 4. What is the command to view the last 15 lines of the science.txt file?
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: head -15 science.txt 5. What is the command to view the first 15 lines of the science.txt file? tail -15 science.txt 6. How many lines does the science.txt file have? How many words? Lines: 1251 Words: 142 7. What is the result of the command: % ls ?list? list list1 science.bak science.txt...
View Full Document

This document was uploaded on 05/01/2011.

Ask a homework question - tutors are online