Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How do you create a file in UNIX

Answers were Sorted based on User's Feedback



How do you create a file in UNIX..

Answer / 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

How do you create a file in UNIX..

Answer / pawan

to create the file using this command..
$ cat > filename

Is This Answer Correct ?    4 Yes 0 No

How do you create a file in UNIX..

Answer / khaja.shaik

To create files in unix there are two processes are there.
They are..
1)cat command
which creates a new file. If the file is already exists
it overrides the contents. It occupies memory.
2)touch command
Which creates a new empty file for later use.

Is This Answer Correct ?    7 Yes 4 No

How do you create a file in UNIX..

Answer / kanta harikrishna

by using touch command we can create an empty file:
syntax:touch <file-name>
by using cat command.......
syntax:cat ><file-name>
by using vi editor.......
syntax:vi <file-name>

(or)
><file-name>

Is This Answer Correct ?    7 Yes 4 No

How do you create a file in UNIX..

Answer / gramper

We can create empty file by using the command
$ touch filename
Adding contents to an empty file
$ cat >>filename
- writing any contents
-ctl + d
$ cat filename

Is This Answer Correct ?    3 Yes 0 No

How do you create a file in UNIX..

Answer / vi

We can create empty file by using the command true or :
: > testfile1
(or)
true > testfile2

The above two examples will create files.

Is This Answer Correct ?    6 Yes 4 No

How do you create a file in UNIX..

Answer / hari

cat>file
or
touch>file file1 file 3

Is This Answer Correct ?    2 Yes 0 No

How do you create a file in UNIX..

Answer / july

first open start button then go to putty click there then it will be opened then it starts like this

na peru pipparmentu na volanta currentu na shape e truppetu
na soke bulletu
please give me rating for this

Is This Answer Correct ?    1 Yes 0 No

How do you create a file in UNIX..

Answer / pehaaa

by using touch command, but the size of the file is zero
byte & cat command is used to create file and to store few
lines in it.

Is This Answer Correct ?    1 Yes 1 No

How do you create a file in UNIX..

Answer / kamini

touch <filename>
cat > filename
or use vi editor to create a file

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Unix Commands Interview Questions

What is Unix, and how does it differ from other operating systems?

2 Answers  


Give a regular expression that finds two things, try to come up with regular expressions that find each individually using "egrep" command?

5 Answers  


what is the default permission for /etc/shadow file in UNIX

2 Answers   Wipro,


What is the difference between cat command and more command?

0 Answers  


what is shell?

5 Answers  


What is a bash command?

0 Answers  


What difference between cmp and diff commands?

0 Answers  


What do chgrp command do?

0 Answers  


Who command in unix operating system?

0 Answers  


Give the command to display space usage on the UNIX file system.

6 Answers  


What do know about tee command and its usage?

0 Answers  


What is s and g in sed command?

0 Answers  


Categories