file system command directory

cd

delete

dir

fomat

md

more

pwd

rd

rename

 

cd

If want to change current directory, use supervisor mode: cd

cd  directory|..

parameter:

Directory

directory name( the maximum is 20 characters)

..

father directory

Default:

none

command mode:

supervisor mode

explanation:

none

 

delete

If want to delete a file, use supervisor mode command to delete.

delete  file-name

parameter

file-name

file name( the maximum is 20 chracters)

default:

none

command mode:

supervisor mode

explanation:

none

 

dir

if want to show the name of file and directory, use command “dir”.

dir  file-name

parameter:

file-name

file prefix name( the maximum is 20 characters)

default:

none

command mode:

supervisor mode

explanation:

If do not input file prefix name, it shows all directories and files. The format to show file is as follow:   

index ID  file name <FILE> file length  creating time

 

format

If want to format file system, use command “format” 

format 

parameter:

       none

default:

none

command mode:

supervisor mode

explanation:

After using format, all files in file system will lose.

relevant command:

none

 

md

If want to create a directory, use command “md”

md  directory

parameter:

Directory

directory name( the maximum is 20 characters)

default:

none

command mode:

supervisor mode

explanation:

Because it only has one level subdirectories, if a current directory is not a boot directory , it will prompt an error. If existing a same name directory, it will also prompt an error. If the numbers of subdirectories are more than 10, it will prompt “directory is full”. 

Relevant commands:

none

more

if want to show file content, use command “more”:

more  file-name

parameter:

file-name

File name( the maximum is 20 characters)

 

default:

none

command mode:

supervisor mode

explanation:

If a file is all made up of displayed characters, it will be showed by ASCII ,or it will be showed by binary system. 

relevant command:

none

 

pwd

If want to show current directory, use pwd:

pwd

parameter:

none

default:

none

command mode:

supervisor mode

explanation:

none

 

rd

If want to delete a directory, use “rd”

rd  directory

parameter:

Directory

Directory name(the maximum is 20 chracters)

              

default:

none

command mode:

supervisor mode

explanation:

If this directory is not null, it will prompt. If this directory does not exist, it will prompt this directory does not exist. 

 

rename

If want to change a file name, use command“rename”

  rename  old_file_name new_file_name

parameter:

old_file_name

an old file name

new_file_name

a new file name

default:

none

command mode:

supervisor mode

explanation:

none