how to create a new file command

Answer Posted / kiran kumar raju

The cmd which use to create a file

1- cat > filename
2- touch filename
3- vi filename

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the working of command grouping?

535


What command do you type to find help about the command who?

540


Information technology is widely used in

1487


What is file and example?

606


What is gnu in linux?

525






In order to display the last five commands you have entered using the fc command, you would type?

516


What is linux pwd (print working directory) command?

517


Write a command that will do the following: -look for all files in the current and subsequent directories with an extension c,v -strip the,v from the result (you can use sed command) -use the result and use a grep command to search for all occurrences of the word orange in the files.

824


What is tail command in linux?

535


What is the difference between command ‘ping’ and ‘ping6’?

525


Which command is used to review boot messages?

556


How can you check the amount of lines in a file?

539


You suspect that you have two commands with the same name as the command is not producing the expected results. What command can you use to determine thelocation of the command being run?

504


What are the ms dos commands?

523


What is netstat command in linux?

573