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 equivalent of a file shortcut that we have a window on a linux system?
What does $$ mean in shell script?
Create a bash shell script that reads in a number from the user. If the number is 1, print out the date. If the number is 2, list the files in the current directory. If the number is 3, print out who is currently logged onto the system. If the number is anything else, print out an error message and exit. Name this script "various.sh"
In a file , how to retrieve the lines which are the multiples of 50 ? like 50,100,150th lines etc.
Hello all, This is my assignment on shell scripting, can anyone help me regarding this ? Create a shell script which connects to the database In second shell script include the first script for the DB connection Create a table (PRADEEP_DATA) with 2 columns (name, value) In Third shell script include the first script for the DB connection And insert/delete the values from the Table, by accepting input from the user This functionality should be a menu driven Program: 1) Insert to the database a. Name b. value 2)Delete from the database a.Name b.value Exception handling needs to be taken care.
I have to write Shells (Linux + Unix)for publishing packages and reports. Is it possible ? What are the differents executable programs ineed to call ?
What are script files?
how to delete all the files with extension .dat rom a directory tree from root to third level in a single unix command?
How can I Debug a shell scripts and Perl scripting?? or How do you debug a shell scripting and perl scripting ( at the compile time error or run time error) in Unix environment ?
How will you connect to a database server from linux?
Write a command sequence to find all the files modified in less than 2 days and print the record count of each.
how to read systems current date and time