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 |
madhar chod unix ke 10 commands dhang se likh nahi sakta hai
What is the use of echo in shell script?
write a shell script that counts a number of unique word contained in the file and print them in alphabetical order line by line?
What is bash used for?
Write a shell script to get current date, time, user name and current working directory.
There is a record with fields namely name,roll no.,salary,grade etc.Now,write a script to create a file with multiple records have same combination of fields but with unique roll numbers.The script should work for different names in the input file.
I want to connect to a remote server and execute some commands, how can I achieve this?
I want to create a directory such that anyone in the group can create a file and access any person's file in it but none should be able to delete a file other than the one created by himself.
Explain about sourcing commands?
How to sort a result of Ls -l command based on columns. Ex. i want to sort 5th column from output of ls -l command.
Explore about environment variables?
Rewrite the command to print the sentence and convert the variable to plural: echo “i like $variable”.