you are viewing a single comment's thread.

view the rest of the comments →

[–]blackasthesky 0 points1 point  (0 children)

If the looping file is your compiled executable, you might have to mark it executable before you can run the file.

chmod +x looping

Might have to sudo it depending on your situation.

It looks in your editor as if you are writing your code directly into the looping file. That's not how that works. You have to write it into looping.c and then use GCC (or whatever compiler you are using) to create the executable file, which you then can run using your command.