how to create a new file command

Answer Posted / d.veera

$touch filename
or
cat > filename

or
vim filename

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is vnc?

595


How do you open a command prompt when issuing a command?

558


What is ulimit in linux?

564


What are the linux commands used in devops?

554


How do I search bash history?

503






What are the commands used in command prompt?

533


What is bash history linux?

533


How do I run a bash script in linux?

507


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.

838


How do you run command every time a file is modified?

535


Explain shift command of linux?

574


What is the command can be used to check for file corruption?

557


How can I create a file with cmd?

530


Explain the free command.

583


What does wc command do in unix?

527