-c stand for cmd which allows you to pass your code as a string. This feature is available even outside of google-cloud-platform. you can check other available options using python -h

Answer from Ilyes KAANICH on Stack Overflow
🌐
VITUX
vitux.com › how-to-write-and-run-a-c-program-in-linux
How to Write and Run a C Program in Linux – VITUX
This will create a .c file to write and save a program. In your Terminal, enter the following command to make an executable version of the program you have written:
🌐
Scaler
scaler.com › home › topics › how to compile c program in linux?
How to Compile C Program in Linux? - Scaler Topics
April 13, 2024 - Learn to install build-essential meta-package in Linux Operating System and compile and run a C program in the terminal on scaler topics.
🌐
It's FOSS
itsfoss.com › run-c-program-linux
How to Run C Program in Ubuntu Linux [Terminal & GUI Ways]
March 29, 2023 - As you can see, this is not very different from running C++ programs in Linux. ... Every time you make a change in your program, you have to compile it first and then run the generated object file to run the C program. Not everyone is comfortable with the command line and terminal and I totally understand that.
🌐
Medium
medium.com › @filip.melka › your-first-c-program-on-linux-a-quick-guide-with-vim-and-vscodium-bc941228d4b2
Your First C Program on Linux: A Quick Guide with Vim and VSCodium. | by Filip Melka | Medium
November 17, 2024 - Learn how to write, compile, and run C programs on Linux using two popular tools: Vim and VSCodium. First, we need to write a C program. I’ll use Vim, but feel free to use any text editor you prefer. If Vim isn’t installed, you can easily get it with: ... To save the file, press Esc to return to normal mode, then type :wq to write and quit. The last thing we need to do is to compile our program. For that, we’ll use the GNU Compiler Collection (GCC), which is a command-line ...
🌐
GeeksforGeeks
geeksforgeeks.org › linux-unix › cc-command-in-linux-with-examples
Compiling Programs Using the cc Command - GeeksforGeeks
March 13, 2019 - The cc command in Linux is used to compile C programs and generate executable files.
🌐
Ruc
webhotel4.ruc.dk › ~keld › teaching › CAN_e14 › Readings › How to Compile and Run a C Program on Ubuntu Linux.pdf pdf
1 How to Compile and Run a C Program on Ubuntu Linux Keld Helsgaun
This document shows how to compile and run a C program on Ubuntu Linux using the gcc · compiler. Step 1. Open up a terminal · Search for the terminal application in the Dash tool (located as the topmost item in the · Launcher). Open up a terminal by clicking on the icon. 2 · For ease of future access to the terminal application, right click its icon in the Launcher and · select “Lock to Launcher”. 3 · Step 2. Use a text editor to create the C source code. Type the command ·
Find elsewhere
🌐
Log2Base2
log2base2.com › C › basic › how-to-compile-the-c-program.html
How to compile c program in linux using gcc
🚀 From Python to placements — 90+ courses & 200+ exams, free on Leyaa.ai → · 2.vim file.c (file name can be anything but it should end with dot c extension) command
🌐
LinuxQuestions.org
linuxquestions.org › questions › programming-9 › c-program-code-to-run-a-linux-command-line-63859
C program code to run a Linux command line
I would like a C program code to run a Linux command line such as ifconfig, testparm and others. Below is a simple C program code, what command would
🌐
Baeldung
baeldung.com › home › processes › running a linux command from a c program
Running a Linux Command From a C Program | Baeldung on Linux
October 18, 2024 - Thus, system() is a straightforward and useful method for executing Linux commands from a C program. It’s perfect for circumstances in which we don’t need to record output or interact with the command while it’s running.
🌐
GeeksforGeeks
geeksforgeeks.org › cc-command-in-linux-with-examples
cc command in Linux with Examples - GeeksforGeeks
September 23, 2024 - The cc command is a powerful and flexible tool for compiling C programs in Linux. cc can help you optimize your builds, catch errors early, and generate debugging information when needed.
🌐
Unix.com
unix.com › applications › programming
How to call Linux command in C - Programming - Unix Linux Community
April 8, 2007 - Dear Friends, How we can call the Linux commands like ls, cat, grep, clear and others Linux commands in C programs.
🌐
Upgrad
upgrad.com › home › tutorials › software & tech › how to compile a c program in linux
Run C Program in Linux – What You Need to Know [2026]
3 weeks ago - A Linux Distribution – Any popular distribution such as Ubuntu, Debian, Fedora, or Arch Linux works well for compiling C programs. Ubuntu is commonly used by beginners due to its extensive support and ease of installation. Access to the Terminal – The Linux terminal is where you will write commands to compile and execute your C programs.
🌐
Edx
edge.edx.org › asset-v1:BITSX+CSF111_Dubai+2015_16_S2+type@asset+block › Essential_commands_in_Linux_Environment.pdf pdf
Essential commands of C programming in Linux Environment
have created in step no.3 just type cd 1yr this will take you to 1yr directory. To check the path of your · directory give the command pwd at $ prompt. [ present working directory] this will display your path from ... In linux vi is one of the most popular editor to create or edit any source files.