Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

EASY: C scripts and tar.gz

Posted on 1998-05-24
1
Medium Priority
?
297 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
minar earned 200 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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
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 find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses

610 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