Skip to content

Conversation

M-CEE
Copy link

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

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