2.9.13. More file commands

3.20 vim (covered later)

3.21 rmdir (See: Creating, Deleting and Managing Directories)

Delete an empty directory

3.22 rm (See: Removing Files)

3.23 Sys V printing – skipped

3.24 BSD printing – skipped

2.9.13.1. Counting with wc

Linux for Programmers and Users, Section 3.25

wc

print the number of newlines, words, and bytes in files. Default input is from Standard Files and File Descriptors, if no file is listed.

SYNOPSIS

wc [-lwc] [FILE] …
-l, --lines

number of lines

-w, --words

number of words

-c, --bytes

number of character or bytes (same value)

Complete Homework 3 - Manipulating Files and Directories now.