What's the lowest allowed character in a filename?

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
Reljoy
Level 4
Level 4
Posts: 311
Joined: Sat Mar 13, 2010 12:12 am

What's the lowest allowed character in a filename?

Post by Reljoy »

What's the lowest allowed (alphabetically) character in a filename?
I want a file to appear at the top of the list in a folder so it is always seen first.
In Windows XP I could do this by starting the filename with a !
When I did that in Mint it went to the bottom of the list instead.
I tried to start with a ~ and got the same result
Interestingly, I discovered that if I started the filename with a~ and ended it with ~ it changed to a backup file.
Is a the lowest character for sorting?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
jroa

Re: What's the lowest allowed character in a filename?

Post by jroa »

I am not sure why you are having an issue, but mine sorts with the numbers at the top, then the letters with "a" being the first.

Maybe you can name your file with a 1 as the first character?
User avatar
Reljoy
Level 4
Level 4
Posts: 311
Joined: Sat Mar 13, 2010 12:12 am

Re: What's the lowest allowed character in a filename?

Post by Reljoy »

thanks, I should have thought of numbers.
Interestingly, in my first post, I typed in tilde a couple of times and it shows up as a hyphen when it was submitted - as in
a tilde a~
filename tilde filename~
The tilde gets changed to a hyphen -
Locked

Return to “Beginner Questions”