Skip to content

Huangjunjie225/FileOperationSystem

Repository files navigation

FileOperationSystem

introduction

  • the project is a simulation program that as one part of ubuntu's file operation system
  • its function is easy and it maybe appear some bugs when you use it.
  • the project is use CodeBlock to edit

user manual

ls 查看当前目录下的文件或目录

  • example: ls

mkdir [./|../][文件名] 创建指定路径的目录,没有则添加

  • example: mkdir var

cd [./|../][文件名] 进入指定路径的目录

  • example: .. //返回上一级目录
  • example: ../var //到达上一级目录下的var目录
  • example: home //进入当前目录下的home目录

create [文件名] //在当前目录下创建文件

  • example: create a.txt //在当前目录下创建a.txt文件

open [./|../][文件名] 打开指定路径的文件

  • example: open a.txt //打开当前目录下的a.txt文件

write [./|../][文件名] 往指定文件写入新的数据

  • example: write a.txt //往当前目录下写入新的内容

read [./|../][文件名] 读取指定文件的内容

  • example: read a.txt //读取当前目录下a.txt的内容

close [./|../][文件名] 关闭指定文件的读写操作

  • example: close a.txt //关闭当前目录下a.txt的读写操作

delete [./|../][文件名] 删除指定目录下的文件

  • example: delete a.txt //删除当前目录下a.txt文件

exit 退出登录当前用户或者退出程序

  • example: exit

logout 退出当前用户

  • example:退出当前用户

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages