what are the different commands used to create files?

Answer Posted / sudam

We can use the below commands for creating a file
touch, cat, vi, vim, pico
A) touch: touch <file name>
B) cat: cat > <file name>
C) vi: vi <file name>
D) vim: vim <file name>
E) pico: pico <file name>

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how to use grep command to list find the records of a file containing 10 different strings?

589


What is the command to find maximum memory taking process on the server?

665


Give the command for finding the current date.

573


What is unix command?

579


How to use grep command to list find the records of a file containing 10 different strings?

643






What does touch command do in unix?

719


What does awk stand for?

601


What's a command word?

583


What is the general format of unix command syntax?

685


What is merge command in unix?

940


What is command statement?

539


What do chmod, chown, chgrp commands do?

626


Is it inbetween or in between?

574


What does 'mkdir' command do in UNIX?

654


Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.

618