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

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is s and g in sed command?

1120


What is the behavioural difference between cmp and diff commands?

1289


What do chmod command do?

1229


What is .sh file?

1193


What is the command to view process running?

1113


What are the unix commands?

1099


What does touch command do in unix?

1432


Explain ‘library functions’ with respect to unix commands?

1175


hw will u use awk in replacing cahrs and files

3248


Name the general commands in using unix os for a beginner?

1168


What is grep short for?

1051


What are the dos commands?

1267


How do you repeat a command in terminal?

1231


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

1317


What is {} in find command?

1113