I downloaded a Bash script from Internet.
However, when I try to run it, it fails because of the &&
commands and prints the following error message:
No command 'amp' found
What is amp
?
What is gt
?
What do they do?
A PC can be used as a guitar amp by installing an amp sim (guitar amp simulator). Then, connect your guitar to an audio interface input, and the audio interface via USB to the PC running the amp sim. Finally, connect speakers or headphones to the audio interface output, for a working guitar amp.
I suspect this has undergone an HTML entity translation. You want to reverse this e.g.
& becomes &
and
> becomes >
So (for example)
cd /dir && ls > filename
would become
cd /dir && ls > filename
in other word, &
is the character reference for "An ampersand". While gt
is simply we call it as (greater than).
&
and >
are html escape codes for &
and >
respectively.
Either you have downloaded a script that has been htmlized, or you've accidentally downloaded a webpage with the script on.
Check the top line of the file. if it starts with something like #!/usr/bin/bash
then it's the former and you just need to reverse the changes. If it has something like a <html>
tag as the start, then you've downloaded the webpage - go back to where you got it and look for something like a 'raw' link
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With