Open Dyno0311 opened 3 years ago
put it in a zsh_rc file so it is permanent Because that command stays only for that session
How do we put it in a zsh_rc file?
Sorry, I meant zsh_alias.
Do cd ~ && touch zsh_alias
Then, enter the line of code in the first comment in the zsh_alias file with your preferred editor.
Didnt work here is a screenshot
Why is there a cd
at the end?
Still dont work
no i mean enter that line of code into that newly created file
do nano zsh_alias
, and then put that line of code, then press Ctrl+x, then y, then enter.
Hello there, Did not work for me either. Thanks for your time . Kev
type this in your terminal
alias l='/root/lscript/l'
Oh yeah, The one who gave the solution was @YeetyDankEngine. I am simply copy & paste'd the solution from his answer.
So thanks @YeetyDankEngine!
This is work for me, thanks. But I have another question: When I input "gnome-terminal" as a root user, it failed, so when I installed lscript, it failed open a new terminal, so I just thought I didn't install it success. Btw, when I input "gnome-terminal" as a normal user, it success, just failed when I am a root user. Very thanks for ur reply.
This only worked for me as a root user. In fact, I could only install the app as a root user. Applying the above help worked great in root, but as a regular user, even using sudo, no good.
alias l='sudo /root/lscript/l'
for non root users
put it in the zsh or bash alias file tho.
Hi, I had the same issue with starting lscript. But what I did was to type ./l and it started normally. Sometimes it won-t work with just "l" and enter, but you must type ./l and enter, and it will start normally.
Hi, I had the same issue with starting lscript. But what I did was to type ./l and it started normally. Sometimes it won-t work with just "l" and enter, but you must type ./l and enter, and it will start normally.
People want it to access the script from anywhere, not just the local folder.
bro i am new in linux but i just try this command {use root terminal} command: cd lscript/ zsh ./l i try this it work's for me
This solution worked for me ( https://trendoceans.com/solved-failed-to-execute-child-process-dbus-launch-no-such-file-or-directory-while-x-forwarding/ ) : "A dbus acronym stands for Desktop Bus is interprocess communication, which is used to pass information from one application to another process on Linux and Unix-based systems.
By passing single command can resolve this issue in a swift manner: $ sudo apt install dbus-x11
That’s all to resolve on Debian based machine “failed to execute child process “dbus-launch” (No such file or directory) while x-forwarding”."
There is an error in line 6572 of the code, in a file called Iagree.txt As I am new to Kali, I don't know how to fix this error. When trying to install Lazy Script, I get to the page where it asks you to agree to the terms, I press any key to continue, type YES at the prompt, and then the error code comes up referring to the above error.
I've had it running in Kali before, but it never seems to install properly. If anyone knows how to edit the Iagree text file, please let me know.
Use the command below in your terminal to specify that you want to add execution authorization
chmod u+x l
type this in your terminal
alias l='/root/lscript/l'
Oh yeah, The one who gave the solution was @YeetyDankEngine. I am simply copy & paste'd the solution from his answer.
So thanks @YeetyDankEngine!