CS241 Lecture Notes - Lecture 16: Xpdf, Secure Shell, Uniq
Document Summary
!c whoami date pwd ls cp le1 le2 mv le1 le2 rm 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) sort -n le sorts strings of digits in numerical order removes all duplicates if le is sorted. Program vi le emacs le pico le pine (or alpine) wget url xpdf le lpr le lpq lprm jobno ssh machine scp mach1 : le1 mach2 : le2.