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 is grep short for?

556


What are awk commands?

582


Are you in or at the office?

610


What is the function of grep command in unix?

587


Why is it called grep?

557






What does pipe () return?

592


What do chmod command do?

602


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

620


What is $0 bash?

646


Enumerate some of the most commonly used network commands in unix?

616


What is the difference between grep and grep?

565


Can you enlist some commonly used network commands?

600


How do I find previous commands in unix?

592


How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?

759


What is the general format of unix command syntax?

691