How do you create a file in UNIX

Answers were Sorted based on User's Feedback



How do you create a file in UNIX..

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

How do you create a file in UNIX..

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

How do you create a file in UNIX..

Answer / srinivas

by using cat > filename
and
tough filename
only 2 ways are here.

Is This Answer Correct ?    0 Yes 1 No

How do you create a file in UNIX..

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

How do you create a file in UNIX..

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 you create a file in UNIX..

Answer / prashant chauhan

java

Is This Answer Correct ?    7 Yes 28 No

Post New Answer

More Unix Commands Interview Questions

How can you see the command line history?

0 Answers  


What do know about tee command?

0 Answers  


29. How to display top 10 users Who | head -10 | wc –w

4 Answers   TCS,


In UNIX, what is the command to kill a process?

10 Answers  


What is mtime in find command?

1 Answers  






what is virtual machine?

2 Answers   Infosys,


Where LOG fiels resides in AIX and pls tel me how to remove the log file

6 Answers   Vestas,


what is the command to list all files in a directory, including the hidden files in UNIX ?

9 Answers   CTS,


How does pipe () work?

0 Answers  


What is sed awk grep?

0 Answers  


What is the functions of zambie process?

3 Answers  


What is the syntax of grep command and what is its use?

6 Answers  


Categories