Reference Homepage




c to d Go


e to f


g to j


k to m


p to r


s to w


x to y




Reference

| c | d | e | f | g | i | j | k | l | m | p | q | r | s | t | v | w | x | y |

c
cat filename
Prints out ( to the screen ) the contents of the named file. Can also be used to concatenate files. Say you want file1 and file2 to be all together in one file named file3. If file1 is first, then "cat file1 file2 > file3" will produce the correct file3
cd directory_name
Change current directory. Without a "dirname", it will return you to your home directory. Otherwise, it takes you to the directory named. "cd /" will take you to the root directory.
cc
A compiler for the "C" programming language. "cc" is ANSI compatible on the SGI, IBM, and newer Sun machines. You might try also try "gcc", GNU CC, which is also available on the SGI, SUN, and IBM machines. A typical invocation might be "cc -g file.c -o executablename -llib".
chmod
Changes the permission modes of a file.
cmp {file1} {file2}
Compares the contents of two files from eachother. Reports the first different character found, and the line nummber.
cp {filename(s)}{path}
Copies files from one directory/filename to another. "cp f1 f2" makes a file "f2" identical to "f1". "cp *.c src/" copies all files that end in ".c" into the "src" subdirectory.
ctags
Creates a tags file for use with ex and vi. A tags file gives the location of functions and type definitions in a group of files. ex and vi use entries in the tags file to locate and display a definition.
 
d

 

date
Shows current date and time.
dbx {executable}
Source level debugger. In order to use this, you must use the "-g" option when compiling your source code. Allows you to set break-points, single step through the program, etc.
diff {file1} {file2}
Displays all the differences between two files or directories to the screen.