How do you create a file in UNIX
Answers were Sorted based on User's Feedback
Answer / shad
Can you create a file calles "ls" or "cat" in unix? If Yes
how can u execute your file "ls" instead of the ls command?
| Is This Answer Correct ? | 8 Yes | 9 No |
Answer / uma garg
We can also create a File with
List >Filename
It will create a empty file.
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / srinivas
by using cat > filename
and
tough filename
only 2 ways are here.
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / sundar zeet
1.Use the command call touch....
ie. touch zeet
then it will create a file in the name of zeet
so the command is touch
2.We can use cat command too
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / madhusmita
Using ed command also,w can create new file.
ed
abc
bcd
.
w
text.txt
it will create a new file named text.txt with the above
content.
| Is This Answer Correct ? | 8 Yes | 13 No |
what is difference between unix and linux?
Why is awk called awk?
What is nr in awk command?
What is the difference between awk and grep?
How to find and replace the below command?
What is the general format of unix command syntax?
How to copy multiple files and directories into some other directory?
hw will u use awk in replacing cahrs and files
solaris Run level?
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
If we want to see first 35 lines of a file which command we have to use?
Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?