adding binary to usr/local/bin

New to Debian (Or Linux in general)? Ask your questions here!

adding binary to usr/local/bin

Postby mike acker » 2018-07-04 11:14

I have a couple of short programs in C that I'd like to add to /usr/local/bin

e.g. one program is called "reflow"

in terminal, if I just type "reflow" as a command -- it gets "no such command" -- indicating that the name hasn't been used in the system -- so -- it shuld be OK to add it to /usr/local/bin

maybe it would be better to name it mike_reflow ?
Viva la Resistencia
User avatar
mike acker
 
Posts: 82
Joined: 2017-06-28 21:23

Re: adding binary to usr/local/bin

Postby debiman » 2018-07-04 11:31

i prefer to put the less intuitive part of the executable's name at the end, because - in case there was another utility called reflow - it's easier to use with tab completion.
Code: Select all
reflow_mike
User avatar
debiman
 
Posts: 3027
Joined: 2013-03-12 07:18


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 8 guests

fashionable