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

Write down the syntax for all the loops in shell scripting.

0 Answers  


Is bash a shell script?

0 Answers  


What are the different kinds of loops available in shell script?

3 Answers  


What is the use of a shebang line?

0 Answers  


What makes c shell a more preferable option than the bourne shell?

0 Answers  


What does path stand for?

0 Answers  


how do you write sql queries using shell script for eg:- we have databae table like EMPNO,ENAME,SAL,DEPTNO columns in EMP table how you display EMPNO,SAL FIELDS from emp in SHELL SCRIPT please explain with an example

4 Answers  


What is web script?

0 Answers  


What is eval in shell script?

0 Answers  


c program to check whether all the directories in the path exists has read and write permission

1 Answers  


how can you execute the shell scripts?

4 Answers  


What are the different commands available to check the disk usage?

0 Answers  


Categories