# Terminal commands questions

##### Subtopics

- [What FNE commands are available?](https://lhc.advantest.com/link/22#bkmrk-which-fne-commands-a-1)
- [How do I get a list of FNE licenses available on my FNE license server?](https://lhc.advantest.com/link/22#bkmrk-how-do-i-get-a-list-)
- [How to set up a simple hostname- fne-failover-setup ERROR: The simple hostname (&lt;hostname&gt;) may not contain dots](https://lhc.advantest.com/link/22#bkmrk-how-to-set-up-a-simp)

### What FNE commands are available?

[FlexNet Embedded license administration](https://lhc.advantest.com/books/flexnet-embedded-licensing/chapter/flexnet-embedded-license-administration "FlexNet Embedded license administration")

<div class="table-wrap" id="bkmrk-command-short-descri"></div>### How do I get a list of FNE licenses available on my FNE license server?

You can use the **FNE server viewer &gt; Features.**

Alternatively you can use the command `<strong>fne-list-licenses</strong>`

There are a bunch of options like providing the output with a separator like comma possible, please check with **`man fne-list-licenses`** the manual page.

**Examples**:

<span style="text-decoration: underline;">Without any options you get all licenses:</span>

[![3.png](https://lhc.advantest.com/uploads/images/gallery/2025-10/scaled-1680-/1XA3-png.png)](https://lhc.advantest.com/uploads/images/gallery/2025-10/scaled-1680-/1XA3-png.png)

<span style="text-decoration: underline;">With option --feature you can look up a special license:</span>

[![4.png](https://lhc.advantest.com/uploads/images/gallery/2025-10/scaled-1680-/tsM4-png.png)](https://lhc.advantest.com/uploads/images/gallery/2025-10/scaled-1680-/tsM4-png.png)

<p class="callout warning"> Features are case-sensitive. If you enter fne-list-licenses --feature=smartest you will not get an output.</p>

See the manual page for more examples.

### How to set up a simple hostname - fne-failover-setup ERROR: The simple hostname (&lt;*hostname*&gt;) may not contain dots

if you enter the command `<strong>hostnamectl status</strong>`

you should get for the simple/**static** hostname only the simple hostname like licfne01 on the appropriate server. ![(warning)](https://weshare.advantest.com/vs/s/-a2mvu1/8804/z1btw/_/images/icons/emoticons/warning.svg) The simple/static hostname must not contain a dot when setting up an FNE failover setup. Example for a good output:

<span class="confluence-embedded-file-wrapper">[![5.png](https://lhc.advantest.com/uploads/images/gallery/2025-10/scaled-1680-/SaG5-png.png)](https://lhc.advantest.com/uploads/images/gallery/2025-10/scaled-1680-/SaG5-png.png)</span>

In the screenshot above the simple/static hostname is socbu216 only.

If there is a dot in the simple hostname, then you can change it with **`hostnamectl set-hostname <em><name></em>`**

 Check with command `<strong>hostnamectl status</strong>`

afterwards, if the name changed. Please also check, that the fully qualified hostname is still available with `<strong>hostname -f</strong>`

Example for good hostname -**f** output:

<span class="image-wrap"><span class="confluence-embedded-file-wrapper">[![6.png](https://lhc.advantest.com/uploads/images/gallery/2025-10/scaled-1680-/l3I6-png.png)](https://lhc.advantest.com/uploads/images/gallery/2025-10/scaled-1680-/l3I6-png.png)</span></span>

<p class="callout warning"><span class="image-wrap">Note: Do not use localhost or localhost.localdomain as hostname for an FNE license server!</span></p>