LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-08-2014, 07:28 AM   #1
stetas
LQ Newbie
 
Registered: Dec 2013
Posts: 16

Rep: Reputation: Disabled
Question Which characters and symbols can and can not be used in a filename?


Hello!

I want to know which characters and symbols can and can not be used in a filename?

thnx
 
Old 01-08-2014, 07:40 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390
Quote:
Originally Posted by stetas View Post
Hello!

I want to know which characters and symbols can and can not be used in a filename?

thnx
You can use any character you want, however.....

It would be wise not to use special characters because this might make handling these file more difficult. I would limit the characters used to:
0-9
A-Z (or international equivalent: └ ┴ etc)
a-z (or international equivalent: Ú ŕ etc)
_-.
 
Old 01-08-2014, 07:40 AM   #3
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 2,549

Rep: Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922
http://en.wikipedia.org/wiki/Filenam...ters_and_words is a good start for what shouldn't be used.

Advice: Keep it simple as possible, only use letters, numbers, underscore (_) and dash (-) and AVOID using spaces.
 
Old 01-08-2014, 07:49 AM   #4
stetas
LQ Newbie
 
Registered: Dec 2013
Posts: 16

Original Poster
Rep: Reputation: Disabled
Thnx druuna + TenTenths for help
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Some line drawing characters & other symbols appear as diamonds in terminals (ttys) William (Dthdealer) Linux - Software 7 09-30-2010 09:02 PM
'nm' lists all symbols - including static library symbols painulyarun Programming 4 04-06-2010 05:04 AM
Need help:Configuring autofs to automount the home directories of NIS users. Savita Eli Linux - Server 4 08-27-2009 12:26 AM
LaTeX symbols & characters unihiekka Linux - Software 2 09-25-2005 02:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration