How do you create a file in UNIX

Answer Posted / manikantan t s

many ways

1) touch <file name>
2) cat > <file name>
then the matters and stop using CTRL+D
3) > <file name>
4) using editors like vi

Is This Answer Correct ?    131 Yes 19 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is pipe command in unix?

666


why metadb requires a seperate slice to create Solaris volume manager

2550


How do I use nslookup?

568


What is s and g in sed command?

555


What is the size of time_t?

640






Give the command for finding the current date.

575


Explain ‘library functions’ with respect to unix commands?

601


What is the comma to display different lines that are found when compare two files?

591


Is ‘du’ a command? If so, what is its use?

629


hw will u use awk in replacing cahrs and files

2726


Enumerate some of the most commonly used network commands in unix?

612


Describe the zip/unzip command using gzip.

606


What is a bash command?

622


Explain command to show the space allocation of files?

627


What are some command words?

557