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

Can we run shell script in windows?

0 Answers  


Suppose you execute a command using exec, what will be the status of your current process in the shell?

0 Answers  


What is shell terminal?

0 Answers  


Why is a script important?

0 Answers  


What is awk in shell scripting?

0 Answers  






how did u debugging in unix/ linux platform ??( project Related)

2 Answers   Symphony,


Write down the syntax of "for " loop

0 Answers  


What is the difference between bash and shell?

0 Answers  


Where is bash history?

0 Answers  


What is bash shell command?

0 Answers  


i have 2 tables 4 colums table 1 respective values a1 6, a2 8,a3 9,a4 14 & table 2 respective values a1 6, a2 8, a3 9, a4 12. if compare 2 tables 3 colums values same then 4th column values 1)Qes diff >5 then (5 * diff value ) 2)Qes diff <5 the 5 3)Qes diff 5 then 5 print respective values..

0 Answers   Tech Mahindra,


Hi, i want to zip the files that generates automatically every few minutes (files generated are in .arc extension)....any body write a script for this... thanks in advance

5 Answers   HP,


Categories