HP Data Center Connection Manager Software Products manual Table B-1. Common Linux Commands

Models: Data Center Connection Manager Software Products

1 72
Download 72 pages 2.85 Kb
Page 52
Image 52

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:

dir <directory>

• 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

 

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

Repeat previous command

Repeat specified command

View text files

View or edit files

Delete a file

Copy a file

Find a file

ls [<directory>] [-l]

!!

!

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

vi<filename> See page B-5.

rm <filename>

cp <filename> <newfilename>

find <base directory> -name <filename>

B-4

Page 52
Image 52
HP Data Center Connection Manager Software Products manual Table B-1. Common Linux Commands, Action Command