dhclient Command Function This command is used to set and query dhclient parameters. Syntax dhclient <netif name> dhclient -x <netif name> Parameters Table 1 Parameter description Paramete
阅读全文
openharmony 鸿蒙 kernel-small-debug-shell-net-arp
arp Command Function Hosts on an Ethernet communicate with each other using MAC addresses. IP addresses must be converted into MAC addresses to enable communication between hosts on a LAN (Ethernet).
阅读全文
openharmony 鸿蒙 kernel-small-debug-shell-magickey
Magic Key When to Use When the system does not respond, you can use the magic key to check whether the system is suspended by an interrupt lock or view the system task running status. If interrupts ar
阅读全文
openharmony 鸿蒙 kernel-small-debug-shell-guide
Shell Command Development You can perform the following operations to add shell commands: Include header files. #include "shell.h" #include "shcmd.h" Register commands. You can register commands eithe
阅读全文
开源鸿蒙 File Commands
cat
阅读全文
openharmony 鸿蒙 kernel-small-debug-shell-file-write
writeproc Command Function This command is used to write data to the specified proc file system. The proc file system supports data of strings. The method for writing data needs to be implemented. Syn
阅读全文
openharmony 鸿蒙 kernel-small-debug-shell-file-umount
umount Command Function This command is used to unmount a file system. Syntax umount [-a [-t TYPE]] [dir] Parameters Table 1 Parameter description ParameterDescriptionValue Range --helpDisplays the pa
阅读全文
openharmony 鸿蒙 kernel-small-debug-shell-file-touch
touch Command Function This command is used to create an empty file in a specified directory. If this command is executed to create an existing file, the execution will be successful but the timestamp
阅读全文
openharmony 鸿蒙 kernel-small-debug-shell-file-sync
sync Command Function This command is used to synchronize cached data (data in the file system) to an SD card. Syntax sync Parameters None. Usage Guidelines The sync command is used to refresh the cac
阅读全文
openharmony 鸿蒙 kernel-small-debug-shell-file-statfs
statfs Command Function This command is used to print information about a file system, such as the type, total size, and available size. Syntax statfs [directory] Parameters Table 1 Parameter descript
阅读全文