It depends on the version of the operating system and how it is configured. You would need to look at the MAX_PATH setting to determine what the exact maximum is for a path name.
In general, you should be able to get at least 255 characters and possibly much more depending on the system.
This is controlled by the MAX_PATH definition on /usr/include/limits.h or files that are referenced from there. It can vary but most limit it to 1024 characters.
This page website contains list of characters not allowed in a filename on windows, mac, Linux/unix http://www.comentum.com/File-Systems-HFS-FAT-UFS.HTML
cat file name
sed -n '5p' sum_bank_file.csv where sum_bank_file.csv--is file name '5p'-prints 5th line data
Windows 95 supported file names up to 255 characters in length.
For windows, you might use .cmd, .bat as common file extensions. Unix doesn't use file extensions as associations, so no file extension needs to be used in the Unix environment. A shell script in Unix is simply a text file with any name that is readable and executable. However, file extensions are typically used in Unix as a documentation aid that states that the file is a shell script. Common extensions are .sh, .csh, .ksh, .tcsh, .zsh, etc.
a file name can contain any type of character, it can be start from any character,number& can start with symbol also.
You cannot have a file name containing a question mark; it is an invalid character. However, you can use the question mark as a wildcard. E.g., to list every .txt file that has exactly two characters in its file name you would use the following command: dir ??.txt The '?' wildcard simply means any one character. If you wish to specify any group of characters, use the asterisk wildcard instead: dir *.txt For more information, look up "wildcard" in the command line documentation. Most systems limit a file name to alphabet letters A-Z (and a-z) and numbers 0-9 and some special characters such as "$", "_", "#" with a single period separating the name part from an extension part (i.e. document.txt spreadsheet.xls). However, the actual directory structure in modern systems uses 8-bit characters for the file name so it is not impossible to have "invalid" characters in a file name. On the Microsoft platforms, a system or hardware misadventure can resulted in a corrupted file name entry with punctuation or non-printable characters in the file name. Some utilities deal with this by displaying question mark characters as printable substitutes for them. Unix/linux implementations, being less restrictive, allow file names to have non-printable characters by using the backslash ("\") escape code.
wc is the word count utility. wc <file name> would return four values number of lines, number of words, number of characters, filename of the file processed
260
About 260 characters.
The name of a file. With the verbs being the names of programs.
Consult any reference on Unix for this information. Although they can vary and this is not a complete list, but most systems will have the following file systems: /bin /etc /tmp /usr /boot /etc /lib /opt /var /