Cyclades PC400 installation manual Basic File Manipulation Commands, Cp filename destination

Page 34

Cyclades-PC400

Installation Manual

 

 

 

 

 

/home

Contains the work directories of system 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 not supplied with the operating system are stored.

 

 

/tmp

Location where temporary files are stored.

 

 

/usr

Contains most of the operating system files.

 

 

/var

Contains operating system data files.

 

Basic File Manipulation Commands

The basic file manipulation commands allow the user to copy, delete and move files and create and delete directories.

cp file_name destination

Copies the file indicated by file_name to the path indicated by

a) cp text.txt /tmp

destination. a) copies the file text.txt in the current directory to the tmp

b) cp /chap/robo.php ./excess.php

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

Creates a directory named directory_name. a) creates the directory

a) mkdir spot

spot in the current directory. b) creates the directory snuggles in the

b) mkdir /tmp/snuggles

directory tmp.

rmdir directory_name

Removes the directory indicated by directory_name.

Appendix A - Linux

34

Image 34
Contents Cyclades-PC400 FCC Warning Statement Cyclades-PC400 Installation ManualCanadian DOC Notice Table of Contents Appendix B Hardware Specifications What is in the BOX Upgrades of Software and ManualsStep One Hardware InstallationStep Two Step Three Step Four Step FiveSoftware Installation Software Installation Make config Make menuconfig Step ONE Board and System ConfigurationStep TWO Dspprofilebegin InterfnNbegin Label Description ISDN-PRI Profile Parameters Interface Parameters USA AT&T Pc400util -p Last or channelnumberchannelnumberchannelnumber etcPc400load Step ThreeStep Four Step Five Guided Examples for the Most Common ApplicationsLAN ISDN-BRIParameter Description Value for T1 Value for E1 Line RAS DIAL-IN Application Parameters∙∙∙ LAN Example 2 a LAN-to-LAN Example Using ChannelsETH0 10 Multiple LAN-TO-LAN Application Parameters ∙∙∙ Troubleshooting General TipsHardware Test Root@cyclades common# ./pc400hwtestPasses Pg0 Board ESC Previous Menu G Global E ErrorsGlobal Test DSP U19 U06 U20 U07Previous Menu G Global E Errors ESCAdministrative Utilities Passwd Users and PasswordsAppendix a Information for Users not Familiar with Linux Linux File StructureBasic File Manipulation Commands Cp filename destinationVi Editor Mode What is done there How to Get ThereVi filename Routing Table Netmask Netstat -rnNet-host Ssh The Secure Shell SessionLoading the Configuration File PID TTY Stat Time CommandProcess Table Syslog Minute hour date month day-of-week user commandGet information from the board Crond UtilityActive root /etc/tstcron.src Dhcp Dynamic Host Configuration Protocol Client59 * * * * /etc/testcron.sh Packet Filtering using ipchains Accept Deny Interface isCyclades-PC400 Installation Manual Appendix B Hardware Specifications RJ-48C Signal Pin RxTip RxRing TxTip TxRingCyclades Philippines