![Cyclades AlterPath ACS Command Reference Manual Download Page 367](http://html.mh-extra.comalterpath-acs_command-reference-manual_2703907367.png)
Basic File Manipulation
|
351
•
/lib
- Contains shared libraries.
•
/proc
- Contains process information.
•
/mnt
- Contains information about mounted disks.
•
/opt
- Location where packages not supplied with the operating system are stored.
•
/tmp
- Location where temporary files are stored.
•
/usr
- Contains most of the operating system files.
A.4 Basic File Manipulation
The basic file manipulation commands allow the user to copy, delete, and move files and
create and delete directories.
Other commands allow the user to change directories and see the contents of a directory.
cp
file_name destination
a) cp text.txt /tmp
b) cp /chap/robo.php ./excess.php
Copies the file indicated by file_name to the path
indicated by destination.
a) Copies the file text.txt in the current directory to the
tmp directory.
b) Copies the file robo.php in the chap directory to the
current directory and renames the copy excess.php.
rm
file_name
Removes the file indicated by file_name.
mv
file_name destination
Moves the file indicated by file_name to the path
indicated by destination.
mkdir
directory_name
a) mkdir spot
b) mkdir /tmp/snuggles
Creates a directory named directory_name.
a) creates the directory spot in the current directory.
b) creates the directory snuggles in the directory tmp.
rmdir
directory_name
Removes the directory indicated by directory_name.
pwd
Supplies the name of the current directory. While logged in, the
user is always “in” a directory. The default initial directory is the
user's home directory:
/home/<username>
ls [options]
directory_name
Lists the files and directories within directory_name. Some
useful options are -l for more detailed output and -a which
shows hidden system files.
cd
directory_name
Changes the directory to the one specified.
cat
file_name
Prints the contents of file_name to the screen.
Summary of Contents for AlterPath ACS
Page 16: ...xvi Table of Contents...
Page 29: ...13 This page has been left intentionally blank...
Page 30: ...14 Preface...
Page 68: ...52 Device Access...
Page 86: ...70 Authentication Step 5 Saving changes To save the configuration run the command saveconf...
Page 96: ...80 Authentication Save the configuration to flash 2 cli config savetoflash...
Page 114: ...98 Authentication...
Page 204: ...188 Administration To exit the CLI mode and return to ACS s shell issue the command cli quit...
Page 268: ...252 Power Management with AlterPath PM Integration...
Page 304: ...288 PCMCIA Cards Integration...
Page 338: ...322 Profile Configuration...
Page 364: ...348 Additional Features and Applications...
Page 376: ...360 Appendix A New User Background Information...
Page 406: ...390 Appendix C Cabling and Hardware Information This page has been left intentionally blank...
Page 418: ...402 List of Tables...
Page 420: ...404 List of Figures...