Hello,
Where can I see a list of commands which can be executed from the opnsense shell?
Thanks
Press the TAB key ...
But I guess you might want to start here: https://docs.freebsd.org/en/books/handbook/
And possibly read an introductory book about Unix?
I meant the commands which are pre installed with opnsense, not all commands. thanks
What do you mean? There is a complete FreeBSD installed "under" OPNsense. Did you try pressing TAB twice? That's all commands in the current (presumably root) user's search path.
Pressing tab twice doesnt do anything on my shell. I just wondered if there was a command which lists all commands eg. sysctl, free, cp, mv, ls, etc. thanks
Ah ... yes, the root shell does not support TAB.
Try this:
root@opnsense:~ # bash -l
[root@opnsense ~]# <<-- press TAB here
Display all 1477 possibilities? (y or n)
! gvirstor postdrop
./ gzcat postfix
2to3-3.9 gzexe postkick
: gzip postlock
CC h2ph postlog
[ h2xs postmap
[[ halt postmulti
]] hash postqueue
ac hastctl postsuper
accton hastd posttls-finger
acpiconf hccontrol powerd
acpidb hcsecd powerman
acpidump hcseriald powermand
addr2line hd poweroff
adduser head ppm2tiff
adjkerntz help ppp
agentxtrap hexdump pppctl
alias history pr
ancontrol hmac256 printenv
annotate host printf
apm hostapd proccontrol
apply hostapd_cli procstat
apropos hostname prometheus_sysctl_exporter
--More-- <<-- press the space bar here to page through the list
perfect. thanks