CS246 Lecture Notes - Lecture 2: Pat Summitt, Grep, Working Directory

85 views4 pages
6 Feb 2017
Course
Professor

Document Summary

!c whoami date pwd ls cp le1 le2 mv le1 le2 rm le touch le cd dir mkdir dir rmdir dir echo string chmod perms le chfn chsh ps kill pid who. Nd all les whose names match pat- tern in dir and its subdirectories. Tool cat f1 f2 more le di f1 f2 cmp f1 f2 wc le. Purpose display les f1, f2, one after the other display le one screen at a time compare les f1 and f2 ; outputs in- structions for converting f1 to f2 compare les f1 and f2 ; outputs the. Le sorts the lines of le removes consecutive duplicate lines from le. Num prints num lines (e. g. head -5 le) print matching lines with line numbers print lines that do not match pat sort -n le sorts strings of digits in numerical order removes all duplicates if le is sorted.

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents