Welcome to the Linux Foundation Forum!

LFS201 Lab 4.1

Hello, my mane is Bertrand and I am new in Linux.
I am trying to run signals.c, but I think that I have to download the exe file to be able to run the program.
gcc sends an error message as I launch: gcc -o signals signals.c
Can someone help me with that. I am working both on Windows and Mac and I have Centos7 and Centos8 running on VirtualBox and on VMware.
Thank you for your help

Comments

  • Posts: 916

    assuming you have gcc installed, how did you download the file? You have to make sure it came as pure text etc, or you can use the file that is attached directly.

  • Posts: 1,276

    Hi @Bertpuit ,

    Can you do "cat signals.c" to ensure you are working with the source code? Also please provide a screenshot with the error. And be sure to run the command on a Linux box (a virtual guest will do ok).

    Regards,
    Luis.

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training