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

What is a bash command?

0 Answers  


What is the difference between pipe and xargs?

2 Answers   Amazon, CTS,


distinguish between multi-tasking,multi-user,multi- processing and time sharing?

7 Answers   Alcatel, Cisco, Infosys, University Exams,


What does the command '$ls | wc –l > file1' do?

0 Answers  


what is the advaantage of each user having its own copy of the shell?

0 Answers   BMC, CNS, DELL, Infosys,






which command is used to identify the type of the file?

3 Answers  


what is the function of grep command?

4 Answers  


Which command is used to create a directory?

0 Answers  


when we installing aix os the ssh installed default?

2 Answers  


What is the procedure of "at" and crontab" commands?

4 Answers  


Give Command that will move a single file called "unix.txt"

7 Answers   IBM,


in unix echo is used for

10 Answers   BFL, BirlaSoft, Patni,


Categories