Re:There's a coffeeshop called java.update() in GTA V
by RossM on Wednesday September 25, 2013 @08:46AM
(#6444181)
Requires root user to run
[ Parent
| on HN ]
Re:There's a coffeeshop called java.update() in GTA V
by splatcollision on Wednesday September 25, 2013 @09:28AM
(#6444415)
'sudo make me a sandwich'
Re:There's a coffeeshop called java.update() in GTA V
by robinson-wall on Wednesday September 25, 2013 @09:34AM
(#6444436)
-bash: sudo make me a sandwich: command not found
Re:There's a coffeeshop called java.update() in GTA V
by laumars on Wednesday September 25, 2013 @09:43AM
(#6444474)
I'm surprised you don't have make installed. That's usually one of the first tools I install on any new system (if it's not included as part of the base install, like Arch does):
sudo apt-get install build-essential
Incidentally, the make error you'd get is amusing: make: *** No rule to make target `me'. Stop.
Re:There's a coffeeshop called java.update() in GTA V
by dylz on Wednesday September 25, 2013 @09:45AM
(#6444488)
sudo make me a sandwich
will result in sudo running with 'make me a sandwich' as arguments. 'sudo make me a sandwich'
will result in 'sudo make me a sandwich' running.
Re:There's a coffeeshop called java.update() in GTA V
by laumars on Wednesday September 25, 2013 @09:51AM
(#6444526)
Ah, yes. I didn't spot the quotations encapsulating the code in the parent post. That will teach me to skim-read jokes.
Re:There's a coffeeshop called java.update() in GTA V
by dylz on Thursday September 26, 2013 @09:55AM
(#6450713)
I like hilariously meta jokes.
Re:There's a coffeeshop called java.update() in GTA V
by dkersten on Wednesday September 25, 2013 @10:45AM
(#6444870)
Maybe sudo is not installed?
Re:There's a coffeeshop called java.update() in GTA V
by ushi on Wednesday September 25, 2013 @09:51AM
(#6444530)
sudo pacman -S make
curl https://put.honkgong.info/ed8e3df8691ec7944a878cea595e00c363079504 > Makefile
sudo make me a sandwich
Re:There's a coffeeshop called java.update() in GTA V
by koenigdavidmj on Wednesday September 25, 2013 @10:44AM
(#6444865)
Let's run arbitrary code downloaded from somewhere I don't know! As root!
Re:There's a coffeeshop called java.update() in GTA V
by levosmetalo on Wednesday September 25, 2013 @11:04AM
(#6445005)
Did you read the linked Makefile?
Re:There's a coffeeshop called java.update() in GTA V
by koenigdavidmj on Wednesday September 25, 2013 @02:16PM
(#6446287)
1. The posted code could change between when you read it and when I read it.
2. If you just cut-and-paste these three lines, then you are obviously not reading it.
Re:There's a coffeeshop called java.update() in GTA V
by levosmetalo on Thursday September 26, 2013 @09:39AM
(#6450607)
That's why you have another line saying something like:
cat Makefile
before blindly executing it. In general, you shouldn't blindly believe downloaded code, but in this case Makefile is simple enough that you can prove it's non harmful in a few second glance.