Computer Science - Unix - Discussion

Discussion :: Unix - Section 2 (Q.No.9)


Which of the following is invalid filename?

[A]. shutry
[B]. TRY
[C]. trial
[D]. my .file
[E]. None of the above

Answer: Option E


No answer description available for this question.

Kush said: (Aug 4, 2012)  
Please explain about invalid filename ?

Gowri said: (Dec 31, 2014)  
Anyone please explain this one.

Bindhiya said: (Jan 21, 2015)  
A filename can consist of alphabets (a-z) , numerical's (0-9) and underscore (_). So the first three options are valid filenames. But how can option D be a valid filename?

Reshma said: (Jan 29, 2015)  
Spaces in filename are allowed in unix.

Firoz said: (Dec 31, 2015)  
Unix is rather flexible regarding file names. A valid Unix filename can contain any character other than "/".

Most systems allow filenames of up to 256 characters in length. The filenames motd, and motd.backup are all valid in Unix.

Ankit Batra said: (Apr 23, 2016)  
Is option D is a valid filename?

Saurabh Salvi said: (Jan 24, 2018)  
D is not a valid answer as My .file will create two file if opened from vi editor.

Post your comments here:

Name *:

Email   : (optional)

» Your comments will be displayed only after manual approval.