HomeSetup Developer Handbook
Applications handbook
Table of contents
Miscellaneous
“host-name”
usage: hhs host-name [new_hostname]
Purpose
Retrieve/Get/Set the current hostname.
Returns
0 if the hostname was successfully changed/retrieved; non-zero otherwise.
Parameters
- $1 Optional : The new hostname. If not provided, current hostname is retrieved.
Examples
hhs host-name my.domain.hostname
Output
N/A
__hhs host-name
Output
my.domain.hostname
“shopts”
usage: __hhs shopts
Purpose
Set/Unset Shell Options.
Returns
0 if the command was successful; non-zero otherwise.
Examples
__hhs shopts
Output
Terminal Options
Please check the desired terminal options:
1 cdable_vars
2 cdspell
3 checkhash
4 checkwinsize
5 cmdhist
6 compat31
7 dotglob
8 execfail
9 expand_aliases
10 extdebug
[Enter] Accept [↑↓] Navigate [Space] Mark [I] Invert [Esc] Quit [1..34] Goto: