Solved

EASY: C scripts and tar.gz

Posted on 1998-05-24
1
279 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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.

679 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