Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permanent command alias for Ubuntu22 and Ubuntu20 #304

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

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