LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   problem in changing the name of executable file a.out (https://www.linuxquestions.org/questions/linux-newbie-8/problem-in-changing-the-name-of-executable-file-a-out-856974/)

way2bhanu 01-18-2011 01:15 AM

problem in changing the name of executable file a.out
 
Is there any way to change the name "a.out" of executable file to any other name of our choice..

grail 01-18-2011 01:39 AM

Assuming you are using gcc ... have you done a man on it?

druuna 01-18-2011 02:31 AM

Hi,

You don't give much to work with, so I'm assuming you use gcc:

gcc program.c -o program-output

Like grail pointed out: This information is readily available and could have been found by looking at the gcc man-page or an internet search.

Hope this helps.

schneidz 01-18-2011 09:27 AM

^ if the above isnt what you are after:
Code:

mv a.out <whatever-floats-your-boat>

way2bhanu 01-19-2011 01:16 AM

is there any way 2 change name of a.out
 
thanx grail and druuna...it works...

grail 01-19-2011 02:14 AM

Cool ... please mark as SOLVED once you have a solution.


All times are GMT -5. The time now is 02:01 AM.