UNIX Commands and Command Shells

UNIX File Names

File Names in UNIX

File names in UNIX are case sensitive, are interpreted as a single string of characters, and may contain any number of period (".") separators. There are no separate limitations for specific parts of a file name, such as the extension following the ".". However, there are standard naming conventions which include indicating the type of file using specific extensions on the file name. Since searches for files rely on consistent use of these extensions, it is bad form to use variations that might be recognized as equivalents in other operating systems, especially truncating an extension such as ".html" to ".htm", which was used for 8.3 file names in Windows 3.1 and is sometimes still recognized as being equivalent to ".html" in later versions of Microsoft Windows.

File Permissions

Display File Permissions

ls -l filepath
ls -l
ls -ld .

Change File Permissions

chmod 644 filepath
chmod 750 command
chmod 755 dirpath

Last updated Tuesday October 3, 2006


Printer-friendly PDF* format:

UNIX Commands and Command Shells

This Section

You are currently viewing this page in XHTML 1 Style Sheet* format (* see Clicklets for more infomation). This document is also available in XHTML 1*XML*HTML 4*HTML 5 Style Sheet*HTML 5 XML*HTML 5 non-XML* XHTML 2* XHTML Mobile* WML Mobile* and printer-friendly PDF* formats. This is accomplished with Single Source Publishing, a content management system that uses templates in XSLT style sheets provided by XML Styles .com to transform the source content for various content delivery channels. There is also RDF* metadata that describes the content of this document.