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 |
distinguish between paging and swapping?
what is tar command and what are the different types of tar commands?
What is grep command in unix with examples?
How do you know about running processes of a particular user?
Which unix command lists files/folders in alphabetical order?
use of ls command
What is the significance of the 'tee' command?
Give Command that will move a single file called "unix.txt"
What is grep r?
What are file permissions in Unix, and how are they represented?
What is the difference between Shell Programming and Shell scripting?
10 Answers HCL, TCS, Wipro,
Write a command that will output the sorted contents of a file named in.txt and place the output in another file named out.txt, while at the same time excluding duplicate entries.