Solved

EASY: C scripts and tar.gz

Posted on 1998-05-24
1
262 Views
Last Modified: 2010-04-22
I have two easy questions...
1.) How do I compile C source code scripts. How do I modify them?
2.) How do I unzip tar.gz files?
thanks for your help
0
Comment
Question by:ciris
1 Comment
 

Accepted Solution

by:
minar earned 50 total points
ID: 1637253
To compile C programs, you use gcc
  gcc -o myProgram myCode.c
this will compile myCode.c into myProgram. For programs with
many files it is usually easier to use the "make" utility.
Running "make" reads the file Makefile and uses that as rules
to build the program.

To unzip tar.gz files, do
  tar -xzvf foo.tar.gz
You can leave out the -v (ie, just tar -xzf) if you don't want
to see the files list as you unpack.

0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Fine Tune your automatic Updates for Ubuntu / Debian
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now