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
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 |
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 |
What does echo mean in scripting?
What is the use of script interpreter in shell scripting?
what is the difference between writing code in shell and editor?
State the advantages of shell scripting?
What is eval in shell script?
What are the different types of variables used in shell script?
What is shell application?
What is the conditional statement in shell scripting?
how to print the matrix form of 2-d, 3-d arrays in unix c shell scripts ?
What does egrep mean?
Why should we use shell scripts?
How will I insert a line "abcdef" at every 100th line of a file?