You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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?
Here is how to set the alias in terminal:
If using
zsh
(default on Kali), make a file calledzsh_alias
, or if using Bash, usebash_alias
.Inside of that file, paste
alias l='sudo /root/lscript/l'
. There are many things you can configure here:the
l
located afteralias
can be replaced by whatever you want the command to be. For example, I recommend using 'lscript', (which would bealias lscript='sudo /root/lscript/l'
.If the project is located in another directory, replace the directory with that.
The text was updated successfully, but these errors were encountered: