lscript icon indicating copy to clipboard operation
lscript copied to clipboard

How to set alias (l not working in terminal)

Open qualk opened this issue 2 years ago • 1 comments

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.

qualk avatar Feb 28 '23 02:02 qualk

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?

docin02 avatar Mar 17 '23 20:03 docin02