Service manual

138 Cyclades ACS 5000 Advanced Console Server Command Reference Guide
Appendix C: Linux File Structure
The Linux file system is organized hierarchically, with the root directory represented by the
forward slash (/) symbol. All folders and files are nested within each other below this base
directory. Table C.1 displays the Linux directory structure.
Basic Linux commands
Table C.2 describe the basic Linux commands for file manipulation or changing directory
and contents.
Table C.1: Linux Directory Structure
Path Description
/home Contains the working directories of the users.
/bin Contains applications and utilities used during system initialization.
/dev Contains files for devices and ports.
/etc Contains configuration files specific to the operating system.
/lib Contains shared libraries.
/proc Contains process information.
/mnt Contains information about mounted disks.
/opt Location where packages that are not supplied with the operating system are stored.
/tmp Location where temporary files are stored.
/usr Contains most of the operating system files.
Table C.2: File Manipulation Commands
Command Description
cp file_name destination
cp text.txt /tmp
cp /chap/robo.php ./excess.php
Copies the file indicated by file_name to the path indicated by
destination.
Copies the file text.txt in the current directory to the /tmp directory.
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.