Commands
Commands
cp command options
cp command main options:
option description
cp -a archive files
cp -n no file overwrite
mv command syntax
$ mv [options] source dest
mv command options
mv command main options:
option description
ls syntax
$ ls [options] [file|dir]
ls command options
ls command main options:
option description
3.4.2. diff¶
SYNOPSIS
DESCRIPTION
In the simplest case, diff compares the contents of the two files from- file and to-file.
-b
Ignore changes in amount of white space.
-B
Ignore changes that just insert or delete blank lines.
--brief
Report only whether the files differ, not the details of the differences.
-e, --ed
Make output that is a valid ed script.
-i
Ignore changes in case; consider upper- and lower-case letters equivalent.
-s, --report-identical-files
Report when two files are the same.
-w
Ignore white space when comparing lines.
-y
Use the side by side output format