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

Is it inbetween or in between?

0 Answers  


what does a process mean?

7 Answers   Infosys,


what are processor execution levels and priorities?

2 Answers   Infosys,


What does the command ' $who | sort –logfile > newfile' do?

0 Answers  


which command is used to change group?

5 Answers  






How will you know who are the users logged in to the system before 15 minutes?

4 Answers   Amazon,


what is exact definition of operating system?

13 Answers  


How do you find which version and name of unix you are using at the command prompt?

7 Answers  


what is the default signal kill in unix?

8 Answers   IBM,


what is the use of uniq commmand?

8 Answers  


how many internal commands is there in UNIX?

3 Answers   TCS, Virtusa,


How to display no of records in oracle using unix command?

0 Answers  


Categories