OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • aliases for opnsense-shell
« previous next »
  • Print
Pages: [1]

Author Topic: aliases for opnsense-shell  (Read 2199 times)

firewall

  • Jr. Member
  • **
  • Posts: 98
  • Karma: 7
    • View Profile
aliases for opnsense-shell
« on: August 11, 2019, 08:23:35 pm »
can someone help me determine which ENV files are sourced during a login to opnsense-shell (e.g. .shellrc, .profile, .login, etc.)?  i'd like to set some aliases--specifically replacing the default bsd "watch" command--but i've been unable to figure out where to set this. 

i understand i can change the user(s) to another shell but i'm also not familiar with the pros/cons of remaining with opnsense-shell.

i did try searching for an answer here but all results pertain to firewall aliases...and understandably so.  ;D
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17707
  • Karma: 1618
    • View Profile
Re: aliases for opnsense-shell
« Reply #1 on: August 21, 2019, 05:53:17 pm »
Hi,

opnsense-shell is just a console menu wrapper. If you talk about shell aliases you can configure csh accordingly with a .profile or .cshrc (option 8). If you want more menu entries that is something we don't have an extension for.


Cheers,
Franco
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • aliases for opnsense-shell
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2