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 the syntax of "grep" command?
What is the equivalent of a file shortcut that we have a window on a linux system?
Why are shell scripts used?
What are the disadvantages of shell scripting?
What is a scripting language simple definition?
Where is bash history?
How to initialize a directory size to a variable??
In shell scripting if text is surrounded by single quotes what does it denotes?
What is Path variable?What is its use?
In a single command how do you run the previous command in the command prompt.
write a scwipt that a) takes exactly one argument, a directory name. b) if the number of argument is more or less than one,print a usage message c) if the argument is not adirectory, print another message d) for the given directory, print the five biggest files and the five files that were most recently modified. e) save the output to a file called q2output.
What lives in a shell?