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

What do know about tee command?

601


Which command is used to create a directory?

569


Name the general commands in using unix os for a beginner?

621


Is it inbetween or in between?

578


What does grep v do?

557






What is unix command?

579


What command is used to switching between users in unix?

560


What does 'mkdir' command do in UNIX?

658


What does the command '$ls | wc –l > file1' do?

676


What is the use of find command in unix?

575


What is the first character of the output in ls l command?

629


What will the following command do?

611


What do chgrp command do?

588


How do I use grep to search for a file?

578


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

618