Hi All,
Is it possible to create one file name only space or space
in file name in UNIX and we can able to run that on Unix?

Answers were Sorted based on User's Feedback



Hi All, Is it possible to create one file name only space or space in file name in UNIX and we ca..

Answer / jagadeeb

Yes..:)

just open unix prompt

vi " " or vi "ab cd"
echo "jagadeeb"
:wq
just give permission :)like
chmod 777 " " or chmod 777 "ab cd"
and run that like

./" " or ./"ab cd"
out put like
jagadeeb

jagadeeb@gmail.com

Is This Answer Correct ?    16 Yes 4 No

Hi All, Is it possible to create one file name only space or space in file name in UNIX and we ca..

Answer / sudeep ranjan

Unix-legitimate filenames are any combination of these
three classes of characters: Upper and lower case letters:
A - Z and a - z

Numbers 0 - 9

Periods, underscores, hyphens . _ -

Note that line spaces (aka "whitespace") are not allowed in
filenames. The Unix shell will think you mean more than one
file.

Is This Answer Correct ?    2 Yes 4 No

Post New Answer

More Shell Script Interview Questions

what are bootlevel in linux?which level is booting by default.

5 Answers   Symphony,


What are the different methods available to run a shell script?

2 Answers  


What is shell and shell script?

0 Answers  


What is the conditional statement in shell scripting?

0 Answers  


What will happen to my current process when I execute a command using exec?

0 Answers  






What is the difference between a variable and value?

7 Answers   Sun Microsystems,


if i have 2 files file1 and file2.... file1 contains 2 columns like b a 11 aa 12 as 13 ad 15 ag 11 ar 13 ah 15 ak file2 contains b c 10 ds 11 at 15 gh 15 jk 13 iu 11 fg 13 yy can any 1 give me the program to display in this way? a b c aa 11 at ar 11 fg ad 13 iu ah 13 yy ag 15 gh ak 15 jk

3 Answers  


Write a shell program to test whether a given number is even or odd?

8 Answers  


What is console line?

0 Answers  


I have to write Shells (Linux + Unix)for publishing packages and reports. Is it possible ? What are the differents executable programs ineed to call ?

0 Answers  


How to know that your remote server is ruing smoothly or not in unix?

1 Answers  


What is the syntax of "expr" command?

2 Answers  


Categories