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

Which unix command to make a new directory?

0 Answers  


What command is used to switching between users in unix?

0 Answers  


in UNIX,How do you check for processes started by particular user suppose the user name is 'suresh'?

6 Answers  


How to see unused port number in Solaris?

2 Answers   HCL,


How do you repeat a command in terminal?

0 Answers  






Sorry to all Technical person for mistake of Question. Now i am post currect question Why copied file permission is changed in destination. When i give all permission i.e 777 to file and copy that to other location in destination the permission is 755. But if give permission 555 in destination that file permission is 555 and if give permission 444 to file after copy in destination the file permission is 444. These all are happening in normal user. How the umask value is calculate here really i am not understand. Please write the proper answer. Thanks in Advance

3 Answers   TCS,


What does 'mkdir' command do in UNIX?

0 Answers   Syntel, Visa,


What will the following command do?

0 Answers  


How do you copy a directory with many files and folders into another directory?

2 Answers  


what are wild cards?

2 Answers  


How to install scsi driver in unix? give me explanation clearly?

1 Answers   HCL, TCS,


How do you create a file in UNIX

36 Answers   Accenture, EMG, Nokia, QA, TD,


Categories