CSC209H1 Lecture Notes - Diff Utility, Newline, Uniq
Document Summary
Description change current working directory print current working directory creates a directory removes directory, must be empty removes a file. copies files/dirs moves files/dirs change file permissions discussed in class. In addition to the basic unix commands, we discuss some software tools that you will find useful. Command cd pwd mkdir rmdir rm cp mv chmod. These were discussed in the assigned exercises last week. Command ls cat more ps kill who finger su du head, tail wc lpr, lpq, lprm printing related commands clear. These tools are very useful and will be discussed in some detail below: Command grep,egrep sort uniq find tar diff compress, uncompress, gzip, gunzip sed. It"s a very useful tool you can use to search for occurrences of strings in files. Before you can use grep, you need to understand regular expressions. A regular expression is a sequence of ordinary characters and special characters.