---
title: "Discussion on \"Adding Permanent alias using update-alternatives\" | Hashnode"
description: "Discussion on \"Adding Permanent alias using update-alternatives\". sudo update-alternatives --install [target_path] [alternative_name] [source_path] [priority]\n\n\nalternative_name -> name for managing alternative\n\ntarget_path -> usuall /usr/bin/{alternative_name} (if you want to use same command as alternative_name)\n..."
url: "https://hashnode.com/posts/adding-permanent-alias-using-update-alternatives/63cce4be4a9529fa31c8699b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Adding Permanent alias using update-alternatives](https://blog.ahmadullah.in/adding-permanent-alias-using-update-alternatives?utm_source=hashnode&utm_medium=feed)

sudo update-alternatives --install \[target\_path\] \[alternative\_name\] \[source\_path\] \[priority\] alternative\_name -> name for managing alternative target\_path -> usuall /usr/bin/{alternative\_name} (if you want to use same command as alternative\_name) ...

Jan 22, 2023 · 1 min read · blog.ahmadullah.in  
Read the article

-   [#bash](https://hashnode.com/tag/bash)
-   [#zsh](https://hashnode.com/tag/zsh)
-   [#wsl](https://hashnode.com/tag/wsl)

## Written by

[Ahmadullah Mirza](https://hashnode.com/@aumirza)

@aumirza · India

  
[View profile](https://hashnode.com/@aumirza)

Frontend developer, discovering the web.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
