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

  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 Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 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 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 Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 04: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 01:00 PM
how to setup to access my unix box from putty riddle_sub Ubuntu 2 06-15-2009 12:30 PM
What programs access shared library file glev2005 UNIX for Dummies Questions & Answers 4 12-15-2008 06: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 09:17 AM



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