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

can we use cat command as an editor ..???

Answer Posted / mayank

yes
id file doesn't exists
cat >file
my name is sopderman
r u serious
ctrl+d

cat >>file
no, i am not
ctrl+d

cat >file
overwriting file
ctrl+d

cat -n file> file2 --add line numbers

Is This Answer Correct ?    18 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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:

2202


How do I search for a file in unix command?

975


What does #!/ Bin sh do?

1016


What do know about tee command and its usage?

1122


Why is grep called grep?

1232


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

1232


What do chmod command do?

1137


Which command is used to restrict incoming messages?

1043


Name the unix command to find how many days the server has been up.

1112


What is the use of find command in unix?

1074


Who command in unix operating system?

1085


What does the “echo” command do?

1097


why metadb requires a seperate slice to create Solaris volume manager

3080


What is the behavioural difference between cmp and diff commands?

1212


How can we use grep command in unix?

1140