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

What are the disadvantages of shell scripting?

0 Answers  


How to make userdefined variables to available for all other shells?

4 Answers  


What language is used in terminal?

0 Answers  


What are the different methods available to run a shell script?

2 Answers  


What is another name for a bash shell script that you might see?

0 Answers  






How can you find out how long the system has been running?

0 Answers  


What language is shell scripting?

0 Answers  


write a shell script that counts a number of unique word contained in the file and print them in alphabetical order line by line?

6 Answers   IBM, Wipro,


What is eval in shell script?

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  


Create a bash shell script that reads a line from the user consisting of 5 words and then prints them out in reverse order. Name this script "reverse.sh"

1 Answers  


How do we delete all blank lines in a file?

0 Answers  


Categories