Re: Programm durch Programmnamen starten

Simon Neumeister <[email protected]>
Newsgroups gmane.linux.mandrake.newbie.german
Message-ID <[email protected]>
Am Sonntag, 20. März 2005 18:30 schrieb  Jacob Köhler :
> Hallo,
>
> wie kann ich es machen, das ich ein Programm starte durch ein Befehl. Also
> anders gesagt:
>
> Ich habe eine Binär-Datei. Die kann ich normal über die Konsole mit
> ./DATEINAME starten. Da das mich stört möchte ich es doch einfaches
> eingeben des Programmnamen starten. Also wenn ich den Namen in der Konsole
> eingebe, das das Programm gestartet wird.
>
> Wie mache ich das?
>
> Gruß
> Jacob
>

Hi

Also was willst jetzt eigentlich ?

stört dich das './' vor './dateiname' :
dann solltest du den Pfad zu der Ausführbaren Datei in deine PATH Variable in 
der ~/.bash_profile  übernehmen.

oder willst du einen bestimmten 'Befehl' eingeben um ein Programm zu starten:
dann solltest du einen Alias im der ~/.bashrc vergeben

Simon

Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.