LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-12-2003, 08:08 AM   #1
neon
Member
 
Registered: Aug 2003
Location: Thailand
Distribution: Fedora 3
Posts: 56

Rep: Reputation: 15
Question g++ how do i execute?


i've just started using linux got some questions for you guys..

i've compiled my code using g++ now how do i execute it?

i used :
g++ filename.cpp

i think it worked, and now how do i run the program? i can't find it in g++ manual..

also : in the shadow folder, how do i read the encrypted passwords? i am the root user for this computer.. i was trying to decrypt with grub or something like that.. any ideas?
 
Old 08-12-2003, 08:46 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,950

Rep: Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530
The default executable file name will be called a.out

To execute the program:
./a.out

To create a executable with specific name:
g++ -0 filename filename.cpp

AFIK there isn't any easy way to decrypt existing passwords. Your only choice is to change the password.

Last edited by michaelk; 08-12-2003 at 08:49 AM.
 
Old 08-12-2003, 08:59 AM   #3
neon
Member
 
Registered: Aug 2003
Location: Thailand
Distribution: Fedora 3
Posts: 56

Original Poster
Rep: Reputation: 15
ahh... thanks!!
i was using . a.out
all i needed was the slash!! hehe

is there a standard decryptor for linux?
i was trying out some of them but i only found encryptors.
 
Old 08-12-2003, 11:00 PM   #4
SiriusAB
Member
 
Registered: Feb 2003
Location: S_AB
Distribution: FC4; FC3; RH 9.0; XP
Posts: 86

Rep: Reputation: 15
Thank you, michaelk!

You also just helped me execute my first c++/Linux program!
 
Old 08-12-2003, 11:01 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,950

Rep: Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530
What are you trying to decyrpt?
 
Old 08-14-2003, 04:51 AM   #6
neon
Member
 
Registered: Aug 2003
Location: Thailand
Distribution: Fedora 3
Posts: 56

Original Poster
Rep: Reputation: 15
i just started with linux and was just fooling around with the functions. I'm also taking a newbie class for linux, but i the teacher hasn't even read the manual.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to execute racer!? ungua SUSE / openSUSE 11 10-24-2004 11:49 PM
tar: cannot execute ben_dsr Linux - Newbie 7 10-10-2004 05:08 PM
Cannot execute '/etc/rc.S' jmartinph Slackware 2 03-15-2004 02:39 AM
execute sript? cloids Linux - Software 1 01-15-2004 02:03 PM
cronjob will not execute. the_rydster Linux - Newbie 3 11-20-2003 04:34 PM


All times are GMT -5. The time now is 06:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration