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 |
How do I use nslookup?
Write a command that will display files in the current directory, in a colored, long format.
Which unix command lists files/folders in alphabetical order?
Suppose 1000 processes are running on the system out of those if you have to show only certain process ids which command will you use?
What is difference between grep and find command in unix?
How i'll delete a particular line from the file? Please give answer as soon as possible. Thanks in advance.
Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?
boot process?
distinguish between multi-tasking,multi-user,multi- processing and time sharing?
4 Answers Infosys, Nikhil Construction,
What is the procedure of "at" and crontab" commands?
What is grep and how do you use it?
What are awk commands?