what are the different commands used to create files?

Answer Posted / subbareddy kake

1.touch <file name>
2.cat > filename
3.> file name
4.by using editors like vi
5.echo > file name
6.tee file name
7.vim file name

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is unix command?

857


What are the differences among a system call, a library function, and a unix command?

787


What is the difference between awk and grep?

785


How do I use grep to search for a file?

777


Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?

884






How do I find previous commands in unix?

799


What is the behavioural difference between cmp and diff commands?

862


What does the md command do?

762


Explain the steps that a shell follows while processing a command.

901


What happens when we execute a unix command?

790


Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?

806


Which command should you use to find the remaining disk space in unix server?

944


What is sed awk grep?

813


Why is it called a shebang?

785


Can you enlist some commonly used network commands?

791