I deal with routers/switches a lot. It's second nature to utilize the question mark to get a list of commands, like so:
It would be useful if this were implemented in some way with default shell aliases. I prefer bash so in my /etc/skel/.bashrc (or .bash_profile) script, there's this line:
My motd happens to list custom commands and usage, like in the above example. However, my recommendations for default, built-in usage, would include displaying commands (and basic usage) of several admin and process related tasks, like:
..or even subject matter like:
FreeBSD
System configuration
Ports
Initial administration, setup, and security
Networking
Filesystem
Etc. It would also be useful to further implement some basic follow-up commands, like say how popular databases and languages allow for "help command subcommand", which could give the new user some depth to work with.
These are a few ideas that play on the original. In the KISS principle, just a '?' would be great for starters. Maybe even for some seasoned admins too!
Code:
Router# ?
command This is a command
help Displays help info
...etc
alias ?='cat /etc/motd; alias'
My motd happens to list custom commands and usage, like in the above example. However, my recommendations for default, built-in usage, would include displaying commands (and basic usage) of several admin and process related tasks, like:
man
apropos
whoami
df
mount
pkg
portmaster
(a lead-in to using/installing ports since it's not a default installation) sudo
(ditto) freebsd-update
netstat
ifconfig
top
tar
gzip
..or even subject matter like:
FreeBSD
System configuration
Ports
Initial administration, setup, and security
Networking
Filesystem
Etc. It would also be useful to further implement some basic follow-up commands, like say how popular databases and languages allow for "help command subcommand", which could give the new user some depth to work with.
These are a few ideas that play on the original. In the KISS principle, just a '?' would be great for starters. Maybe even for some seasoned admins too!