Skip to content
New issue

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

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

Already on GitHub? # to your account

How to set alias (l not working in terminal) #331

Open
qualk opened this issue Feb 28, 2023 · 1 comment
Open

How to set alias (l not working in terminal) #331

qualk opened this issue Feb 28, 2023 · 1 comment

Comments

@qualk
Copy link

qualk commented Feb 28, 2023

Here is how to set the alias in terminal:
If using zsh (default on Kali), make a file called zsh_alias, or if using Bash, use bash_alias.

Inside of that file, paste alias l='sudo /root/lscript/l'. There are many things you can configure here:
the l located after alias can be replaced by whatever you want the command to be. For example, I recommend using 'lscript', (which would be alias lscript='sudo /root/lscript/l'.
If the project is located in another directory, replace the directory with that.

@docin02
Copy link

docin02 commented Mar 17, 2023

Not to sound like a NOOB (i strive to reach that level of knowledge someday) but could you pleade elaborate on how i implement this file? Where do i place it and how do i make it usable?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants