I get always confused when I have to give a new name for a new data or executable file under linux, to use underscore or the dash to separate words in the name.
My question: Are there any standard or guide to follow to know when to use this or that?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Some files are actually duplicated in both lists:
x86_64-linux-gnu-cpp, but you probably get the idea that there are more dashes that underscores. Additionally there are files where there is no separation whatsoever as inatktopbm,bdftruncate… not really standard it seems.