Skip to content

ijulipan/linux_stuff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

linux_stuff

Repo of my linux trainings and knowledge

How to compile c programs in the terminal

To compile the C programs, please follow the instructions below:-

  1. Open the terminal in the directory we save the file cd /home/user/linux_stuff/message_queue/
  2. Update the package lists for upgrades sudo apt update
  3. Install GCC sudo apt install gcc
  4. After installing the GCC compiler, we can use it to compile the code gcc -o <executable_filename> <c_program_filename>
  5. A executable file should be present in the directory and can execute the program ./<executable_filename>

About

Repo of my linux trainings and knowledge

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages