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 is gui scripting?
Explain about shebang?
Give some situations where typing error can destroy a program?
What is @echo off?
What does path stand for?
What are the zombie processes?
What does $@ mean bash?
How are shells born?
What are scripts in psychology?
What is a shell? · Types of shell · what is shell scripting?
Script S1 (which copies .dat files from one directory1 to another directory2) run continuously. Write Script S2 which kills S1 first, compresses all .dat files in directory1 and directory2 successfully, re-run Script S1 and stops self i.e. S2.
How to calculate the number of passed arguments?