Common shell commands list



  • Hi,

    I would like to learn more about the shell and certain commands on how to effectively manage pfsense on an ssh basis. What command does it uses(Unix commands I presume, correct me if I'm wrong). Can you share some? I really would love that. Is there a docs pertaining to this topic? :) Thanks for sharing….



  • The configuration needs to be managed from the webGUI so that the config is correctly save and applied. Some basic configuration is done from the console menu, to get a system installed to get get yourself out of a hole if you are locked out of the webGUI or… When you login over SSH, you can start the console menu with:

    /etc/rc.initial
    

    The command line is just a FreeBSD TCSH prompt. There is nothing to manage there, but you can monitor FreeBSD, the packet filter state etc if you want to use command line rather than webGUI. It is sometimes useful when tracking down real bugs - but there aren't any of those left in pfSense  ;)
    The FreeBSD variant of Unix is documented at http://www.freebsd.org/docs.html
    WARNING: Do not mess around at the command line - you will soon break your system if you don't know what you are doing.


Log in to reply