# MyFS **Repository Path**: wangqiyuejava63/my-fs ## Basic Information - **Project Name**: MyFS - **Description**: 在内存中实现文件命令 如 cat echo cd ls rmdir rm mv copy 等 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-12-15 - **Last Updated**: 2025-12-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## Build `make` ## Supported Command ```sh cat echo ls mkdir cd pwd rm mv ``` ## Test ### manual test must input your command number first!!! and input commands then for example ```sh 5 mkdir hello cd hello pwd /hello echo hello world error echo "hello world" hello world ``` ### script test use linux pipe command to do script test pipe the input content into the program |input file| expected output| |-----------|-------------| |sample.in.txt|sample.out.txt| |gift.in.txt|gift.out.txt| |large_gift.in.txt|large_gift.out.txt| for example ```sh cat sample.in.txt | ./a.out / /BanGDream/MyGO/Live20250426/songs /BanGDream/MyGO/Live20250426/songs/Haruhikage . .. Haruhikage Kajikanda kokoro furueru manazashi Sekai de boku wa hitoribocchi datta Chiru koto shika shiranai haru wa Maitoshi tsumetaku ashirau Haruhikage deleted error ```