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

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

1319


Is command prompt unix?

1215


Which command is used to copy files?

1246


Explain how to use grep command to list find the records of a file containing 10 different strings?

1124


What is the use of tee command?

1233


How do I run a bash script?

1234


What is s and g in sed command?

1160


Explain the steps that a shell follows while processing a command.

1283


What are grep patterns?

1146


hw will u use awk in replacing cahrs and files

3294


What does this command do? Cat food 1 > kitty

1632


Describe the zip/unzip command using gzip.

1222


Which command can you use to find the currently running process in unix server?

1163


Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?

1623


Which command is used to find whether the system is 32 bit or 64 bit?

1194