File manipulation tools (2)
Comparing two files:
text / ASCII files
$ diff text1 text2
binary files
$ cmp file1 file2
sorting a file:
example using : as a delimiter, ignoring case, 2 keys
$ sort -t: -f +0 -1 /etc/passwd
splitting, storing, compressing a file:
split , csplit , tar , gzip
lt96
Previous slide
Next slide
Back to first slide
View graphic version