CÔNG TY TNHH CÔNG NGHỆ VIỆT THÁI DƯƠNG
Logo CNTTShop.vn

NTT03, Line 1, Thống Nhất Complex, Thanh Xuân, Hà Nội.
Danh mục sản phẩm

Manage File Operations

Configuration Condition

Before performing operations on files, ensure that:

  • The system has started normally.

Copy a File

In the file system, you can copy a file to the specified directory.

Table 5-10 Copying a File

Step

Command

Description

Enter the file system configuration mode.

filesystem

-

Copy a file.

copy src-parameter dest-parameter

Mandatory

note


  • The copy command can be used to copy file between the file system, the FTP server, and the TFTP server. For details, refers to the description of the copy command in the technical manual.

     

Rename a File

In the file system, you can change the name of a file into a specified name.

Table 5-11 Renaming a File

Step

Command

Description

Enter the file system configuration mode.

filesystem

-

Rename a file.

rename src-filename dest-filename

Mandatory

 

Display the Content of a File

In the file system, you can view the content of a file.

Table 5-12 Displaying the Content of a File

Step

Command

Description

Enter the file system configuration mode.

filesystem

-

Display the content of a file.

type path/filename

Mandatory

Delete a File

In the file system, you can delete a file that is no longer in need.

Table 5-13 Deleting a File

Step

Command

Description

Enter the file system configuration mode.

filesystem

-

Delete a file.

delete path/filename

Mandatory

note


  • Exercise caution when you use the delete command because it permanently deletes a file, and the file cannot be recovered.