Go Back   Cyber Tech Help Support Forums > Operating Systems > Linux

Notices

Reply
 
Topic Tools
  #1  
Old October 3rd, 2006, 08:11 PM
philmetz's Avatar
philmetz philmetz is offline
Senior Member
 
Join Date: Jan 2006
O/S: Windows Vista
Posts: 685
Question opening a file

Whenever i open a .pl or .cc file it opens with gedit and shows the code. How do i open it as a program an actual program???
am using linux Ubuntu
__________________
"As much as we have progressed in science, we are still finite creatures with limited conceptual abilities and imperfect observational tools" - James Sweitzer

You'll Never Walk Alone - Liverpool FC
Reply With Quote
  #2  
Old October 4th, 2006, 04:30 AM
kage's Avatar
kage kage is offline
Cyber Tech Help Moderator
 
Join Date: Apr 2004
O/S: Linux
Age: 19
Posts: 1,259
Make it executable, using the command (from a terminal) "chmod +x ./file.cc", then just run "./file.cc".

Make sure you change 'file.cc' to the actual file on your machine. (ie: /home/philmetz/hello.cc)
__________________
Tips for Linux Newcommers

If we have helped you, please consider supporting Cyber Tech Help with a subscription.

Reply With Quote
Reply

Bookmarks

Topic Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 07:36 AM.

[ RSS ]