Getting Started Guide

B-4
Manually Editing DCM Controller Files
Common Linux Commands
Table B-1. Common Linux Commands
Action Command
Change your directory cd <new directory>
Move to the directory above the current cd ..
Return to the home directory cd (do not specify a
directory)
List files:
Simply enter dir to view files in the current directory
Include the [<directory>] option if you want to view the
contents of a particular directory
dir <directory>
List files and subdirectories with ls
Simply enter ls to view files in the current directory
Include the [<directory>] option if you want to view the
contents of a particular directory
Include the -l option to view the files and directories in the long
format
ls [<directory>] [-l]
Repeat previous command !!
Repeat specified command !
View text files more <filename>
[spacebar] or [f]
move forward one
screen
•N
[f]—move forward N
screens
[b]—move back one
screen
•N
[b]—move back N
screens
View or edit files vi <filename>
See page B-5.
Delete a file rm <filename>
Copy a file cp <filename>
<newfilename>
Find a file find <base directory>
-name <filename>