Bash Linux Shell
User can execute Linux commands in the PicOS CLI to display the system process, create a directory, or execute commands added by third party software.
admin@XorPlus# run bash "ps" PID TTY TIME CMD 5289 ttyS0 00:00:00 bash 5301 ttyS0 00:00:03 pica_sh 7725 ttyS0 00:00:00 ps admin@XorPlus# run bash "pwd" /home/admin admin@XorPlus>
If the command requires multiple parameters, quotation marks are required. Here is an example from the configuration mode used to check the system configuration file.
TelAviv# run bash "cat /pica/config/pica.conf" /*XORP Configuration File, v1.0*/ /* Copyright (C) 2009-2013 Pica8, Inc.*/ /*Last commit : Fri May 9 12:43:39 2014 by admin*/ /*PicOS Version : 2.3*/ /*Version Checksum: 6b1435290092ce1b89fb98c06e20e66c*/ [...]
Copyright © 2024 Pica8 Inc. All Rights Reserved.