How to access/run c programs on Putty? | Unix Linux Forums | UNIX for Dummies Questions & Answers

  Unix/Linux Go Back    


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

How to access/run c programs on Putty?

UNIX for Dummies Questions & Answers


Closed Linux or Unix Question    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 05-11-2011
Recycalable Recycalable is offline
Registered User
 
Join Date: May 2011
Last Activity: 11 May 2011, 7:10 PM EDT
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
How to access/run c programs on Putty?

Hi all,

I wrote a couple noobie programs and had them compiled over Putty (using gcc), but I don't know what command I should use to run them.

Please assume that I'm a complete noob when it comes to programming and putty commands.

Thank you for your help!
Sponsored Links
    #2  
Old Unix and Linux 05-12-2011
thegeek thegeek is offline
Read Only
 
Join Date: Apr 2009
Last Activity: 30 July 2012, 5:38 AM EDT
Location: /usr/bin/vim
Posts: 946
Thanks: 13
Thanked 38 Times in 36 Posts
when a 'C' program is compiled using gcc, by default you get a.out in the current directory.

So do, "./a.out" to run that program.

nothing special with putty in this case.
Sponsored Links
Closed Linux or Unix Question

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Unix or Linux Image More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
WebApp secure access to protected files/programs salukibob Security 1 03-15-2011 03:15 PM
Are programs like sys_open( ) ,sys_read( ) et al examples of system level programs ? vishwamitra UNIX for Dummies Questions & Answers 1 10-28-2009 12:00 PM
how to setup to access my unix box from putty riddle_sub Ubuntu 2 06-15-2009 11:30 AM
What programs access shared library file glev2005 UNIX for Dummies Questions & Answers 4 12-15-2008 05:30 PM
Need help to access/mount so to access folder/files on a Remote System using Linux OS S.Vishwanath UNIX for Dummies Questions & Answers 2 07-30-2001 08:17 AM



All times are GMT -4. The time now is 09:47 PM.