LS
List current directory
- LS
List files by running the system
lscommand. Paths are inside thesyncdcontainer, and the command runs there as root.No argument: list
syncd’s working directory.A first argument starting with
-is passed as options tolsfor every following path.Each path is listed by a separate
ls.
The arguments go to
/bin/shunescaped. Shell syntax inside a quoted argument is therefore executed, likeshell.Hardware-validated
drivshell> ls -l /usr/share/sonic/hwsku total 52 -rw-r--r-- 1 root root 66 Oct 26 11:46 buffers.json.j2 -rw-r--r-- 1 root root 1298 Oct 26 11:46 buffers_defaults_def.j2 -rw-r--r-- 1 root root 1267 Oct 26 11:46 buffers_defaults_t0.j2 -rw-r--r-- 1 root root 1298 Oct 26 11:46 buffers_defaults_t1.j2 -rw-r--r-- 1 root root 894 Oct 26 11:46 pg_profile_lookup.ini -rw-r--r-- 1 root root 2711 Oct 26 11:46 port_config.ini -rw-r--r-- 1 root root 31 Oct 26 11:46 qos.json.j2 -rw-r--r-- 1 root root 108 Oct 26 11:46 sai.profile -rw-r--r-- 1 root root 18902 Oct 26 11:46 td3-seastone_2-32x100G-vxlan.config.bcm
Built-in help
Parameters: <file> ... Invoke a platform "ls" command, useful to see RC files that may be invoked if a command does not matchFurther reading
SDK-6.5.20 HSDK Getting Started Guide (GS-SDK6520-R), plus SDK-6.5.20/21/22 Release Notes (RN-SDK65xx-R), Dell SmartFabric OS10 Installation, Upgrade, and Downgrade Guide (Appendix C/D: Upgrade PCIe firmware from DIAG OS / OS10 hshell), BCM_SDK命令.