Solved

EASY: C scripts and tar.gz

Posted on 1998-05-24
1
257 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
Comment Utility
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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

763 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

14 Experts available now in Live!

Get 1:1 Help Now