How do you create a file in UNIX

Answer Posted / rakesh bagaria

1. using cat: cat>filename
2. using touch: touch filename (used basically for time stamping)
3. vi filename (exit using :wq)
4. echo>filename

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do chmod, chown, chgrp commands do?

641


What is ‘ps’ command for?

620


What do chgrp command do?

596


Why is it called a shebang?

574


What is the command to find hidden files in the current directory?

589






What do know about tee command and its usage?

591


What does touch command do in unix?

735


What is unix command line?

614


Explain command to view process running?

619


What is a command and examples?

591


What do know about tee command?

607


Using unix command how to display no of records in oracle?

615


What is grep and how do you use it?

581


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

714


What is grep r?

596