Skip to content

Permanent command alias for Ubuntu22 and Ubuntu20 - #304

Open
M-CEE wants to merge 4 commits into
AndronixApp:masterfrom
M-CEE:master
Open

Permanent command alias for Ubuntu22 and Ubuntu20#304
M-CEE wants to merge 4 commits into
AndronixApp:masterfrom
M-CEE:master

Conversation

@M-CEE

@M-CEE M-CEE commented Sep 16, 2024

Copy link
Copy Markdown

I noticed that it's stressful to try running ubuntu if i am not in the home dir where the start-ubuntu22.sh script is. So i found a way to create an alias for the script, like this:

alias ubuntu22='./start-ubuntu22.sh'

then i can use ubuntu22 as a command to run the script.

But this solution is not fixed i.e can't use it in a new instance of termux. To make it permanent, I added the line above to the bashrc file.
Now I can use ubuntu22 as a command to run Ubuntu from any dir, anytime I open termux.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant