Answer» Hi..
thanks alot for reading my question firstly.
i need to do a demonstration on the following question and i really don't KNOW what command to use for these.i need to do this demo using linux terminal.PLZ help me and thanks in advance.
Append a statement, namely “test” to the file named “linux”.
I tried to google looking what is the meaning for append and it says ;
To place after, or at the end of, a character, a line, or a file. In the vi editor, certain commands let you append text in a document. In the Bourne and C shells, the symbol )) allows you to append output to an existing file (or create a new file if the file does not yet exist).
plz explain and help me.thanks alot for all your help.plz help echo test >> linux
That will append the word test to the end of a file named linux.thanks alot mate...
just another doubt:
how to check whether the name test already added?
is there any other command to check this.plz help.....Checking to see if a file exists is slightly more COMPLICATED, and since this sounds like a HOMEWORK assignment you're going to have to learn to use google on your own.
|