
108
|
Chapter 3: Linux Commands
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
--output-delimiter=string
Use string as the output delimiter. By default, the output
delimiter is the same as the input delimiter.
--help
Print help message and exit.
--version
Print version information and exit.
Examples
Extract usernames and real names from /etc/passwd:
cut -d: -f1,5 /etc/passwd
Find out who is logged on, but list only login names:
who | cut -d" " -f1
Cut characters in the fourth column of file, and paste them back as
the first column in the same file:
cut -c4 file | paste - file
cvs
cvs [options] cvs-command [command-options] [command-args]
CVS (Concurrent Versions System) is a version-control system.
Like earlier version-control systems such as RCS, CVS tracks
versions, permits the storage and retrieval of earlier versions, and
allows tracking of the history of a file or an entire project. In addi-
tion, it permits multiple users on different systems across a
network to work in a file simultaneously and merge their changes.
All CVS commands start with cvs, followed by any global options,
the command to execute, and any command options or argu-
ments. For more information on CVS and its commands, see
Chapter 13.
date
date [options] [+format] [date]
Print the current date and time. You may specify a display format.
format can consist of literal text ...