# Renaming devices on Linux

This page provides instructions for renaming devices in your Meshnet on the Linux app.

## Rename this device

Take the following steps to assign a custom nickname to this Linux device:

1. Open **Terminal**.
2. Run this command, replacing the `<nickname>` placeholder with the nickname you want your device to have:

   <pre class="language-bash" data-overflow="wrap"><code class="lang-bash">nordvpn meshnet set nickname &#x3C;nickname>
   </code></pre>

   &#x20;\
   **Example**

   <div align="left"><figure><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FQeuaW2mORg0th8OGsDAC%2Flinux_nickname_set_this.png?alt=media&#x26;token=154682b1-7b3a-4156-ab86-3df08486a14a" alt="Terminal window with the command to rename this device to &#x22;linux-pc&#x22;."><figcaption></figcaption></figure></div>

With the change applied, this device's new name will be displayed on all of your personal devices.

{% hint style="info" %}
**Note**

To reset this device's name to the original Nord name, execute the following command:

{% code overflow="wrap" %}

```bash
nordvpn meshnet remove nickname
```

{% endcode %}
{% endhint %}

## Rename a peer device

To rename any peer device in your Meshnet, follow these steps:

1. Open **Terminal**.
2. Run the `nordvpn meshnet peer list` command and locate the Nord name of the device that you want to rename.&#x20;

   <div align="left"><figure><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2Fv5LXSTbz6eZMRO4QhNq5%2Flinux_peer_name_everest.png?alt=media&#x26;token=24c50885-71c9-4f35-a13b-e76d8f3b7f6f" alt=""><figcaption></figcaption></figure></div>

   &#x20;
3. Enter the following command, where `<device>` is the Nord name or Meshnet IP of the device you want to rename and `<nickname>` is the new name you want to assign to that device.

   <pre class="language-bash" data-overflow="wrap"><code class="lang-bash">nordvpn meshnet peer nickname set &#x3C;device> &#x3C;nickname>
   </code></pre>

   &#x20;\
   **Example**

   <div align="left"><figure><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FTP1XEVnMKtAtie4Hd5QJ%2Flinux_nickname_set.png?alt=media&#x26;token=9189c2d4-aafb-47f5-88c7-e81bab5bdb92" alt="Terminal window with the command to set a nickname."><figcaption></figcaption></figure></div>

After applying the change, the nickname will be displayed as the primary device identifier when running the `nordvpn meshnet peer list` command and will be synced across all your personal devices.

<div align="left"><figure><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2F88QWSuEZV4O6WYAB15uH%2Flinux_nickname_list.png?alt=media&#x26;token=bb0e564c-f4d4-4469-a47c-f95de18ec208" alt="Peer device&#x27;s nickname highlighted in the terminal window." width="563"><figcaption></figcaption></figure></div>

{% hint style="success" %}
**Tip**

To find your peer's Nord name faster, start typing the name and press **Tab**. The system will auto-complete the name with a match from online devices.
{% endhint %}

{% hint style="info" %}
**Note**

To remove a device's nickname and restore it to the original Nord name, run the following command, where `<device>` is the Nord name, nickname, or Meshnet IP address of the device whose name you want to reset:

{% code overflow="wrap" %}

```bash
 nordvpn meshnet peer nickname remove <device>
```

{% endcode %}
{% endhint %}

## See also

* [Renaming devices on Windows](https://meshnet.nordvpn.com/features/renaming-devices/windows)
* [Renaming devices on Android](https://meshnet.nordvpn.com/features/renaming-devices/android)
* [Renaming devices on iPhone/iPad](https://meshnet.nordvpn.com/features/renaming-devices/ios)
* [Renaming devices on macOS](https://meshnet.nordvpn.com/features/renaming-devices/macos)
