EasyManua.ls Logo

Ruijie RG-S2900G-E Series - Copying Files; Formating the System

Ruijie RG-S2900G-E Series
943 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Configuration Guide File System Configuration
Command
Function
Ruijie# cd ./
Enter the current-level directory
The following example enters the document directory in the mnt directory at the
root:
Ruijie# cd mnt/document
After that, the operations will be performed in the mnt/document directory.
Copying Files
This copies the files to a directory or a file.
In the privileged mode, copy files to a directory or files by using the cp
command:
Command
Function
Ruijie# cp dest directoryname sour
filename
Copy the file to the specified directory
Ruijie# cp dest filename sour
directoryname
Copy the file to the specified file
The following example shows how to copy a file to a directory and another file:
Ruijie# cp dest ../bak sour config.text
Ruijie# cp dest con_bak.txt sour config.text
Showing Directories
This shows the contents of the current working directory or specified directory:
Command
Function
Ruijie# dir
Show the contents in the current directory
Ruijie# dir directory
Show the contents in the specified directory
The following example shows the contents of the current directory and specified
directory:
Ruijie# dir
Ruijie# dir ../bak
Formating the System
In the privileged mode, format the device to be managed and operated by the
file system by using the following command:
Command
Function
Ruijie# makefs dev devname fs
fs_name
Format the device named dev for the file system named
fs_name

Table of Contents

Related product manuals