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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are some command words?

1095


Who command in unix operating system?

1095


How do you repeat a command in terminal?

1161


What is the nmap command?

1134


When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system. How can i findthe right soluion??? My pgm: #include # include int main() { int pid; pid=fork(); if(pid < 0) {exit(-1);} else if(pid==0) { printf("Child Process is Sleeping ..."); sleep(10); printf("Orphan Child's Parent ID : %u ",getppid()); } else { printf("Parent Process Completed ... %u ",getpid()); exit(0); } return 0; } Output:

2214


What is used to type command?

1015


Can you enlist some commonly used network commands?

1059


Is ‘du’ a command? If so, what is its use?

1099


What do chown command do?

1124


How do I use nslookup?

1053


What does 'mkdir' command do in UNIX?

1258


what is the advaantage of each user having its own copy of the shell?

2513


How can you see the command line history?

1087


What does the metacharacter mean?

1097


How does the system know where one command ends and another begins?

2182