# QCLI sub-group: Fs
Source: [https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_fs.html](https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_fs.html)
The Fs sub-group commands are used for file system operations.
## ls
Source: [https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_fs.html](https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_fs.html)
This command is used to list directory contents.
| Parameter name | Type/Range | Description |
| --- | --- | --- |
| path | String | The absolute path including the mount point `/lfs`.
|
## read
Source: [https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_fs.html](https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_fs.html)
This command is used to read from a file.
| Parameter name | Type/Range | Description |
| --- | --- | --- |
| filename | String | The absolute path to the file, including the mount point.
For example:
`read /lfs/boot_count` |
| offset | Int | The offset from where the file is read.
If the offset is greater than the total length of the file, the read operation fails. |
| length | Int | The total length of data to read from the file.
If the length to read is greater than the total length of the file, the command only returns the data from offset to the end of the file. |
## write
Source: [https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_fs.html](https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_fs.html)
This command is used to write to a file.
| Parameter name | Type/Range | Description |
| --- | --- | --- |
| filename | String | The absolute path to the file, including the mount point.
For example:
`write /lfs/boot_count` |
| offset | Int | The offset to start writing. |
| data | Hexadecimal data | Data in hexadecimal format. The number of hexadecimal characters (0-9 and A-F) must be even. |
## rm
Source: [https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_fs.html](https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_fs.html)
This command is used to remove a file.
| Parameter name | Type/Range | Description |
| --- | --- | --- |
| filename | String | The absolute path to the file, including the mount point.
For example:
`rm /lfs/dir1/file1` |
## mount
Source: [https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_fs.html](https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_fs.html)
This command is used to mount file system.
Last Published: Jun 03, 2026
[Previous Topic
QCLI sub-group: Lowpower](https://docs.qualcomm.com/bundle/publicresource/80-Y8730-2/topics/qcli_sub_group_lowpower.md) [Next Topic
QCLI sub-group: FwUp](https://docs.qualcomm.com/bundle/publicresource/80-Y8730-2/topics/qcli_sub_group_fwup.md)