Operating Systems > Linux and UNIX

Possibly useful commands

<< < (4/4)

Aloone_Jonez:
I've just tried it now, you're right.


--- Code: ---alun@cpc2-bedn1-0-0-cust299:~$ echo Hello World >myfile.txt
alun@cpc2-bedn1-0-0-cust299:~$ ls
CD4050BC.pdf  Desktop  dosemu myfile.txt  OperaDownloads  results
alun@cpc2-bedn1-0-0-cust299:~$ cat myfile.txt
Hello World
alun@cpc2-bedn1-0-0-cust299:~$ echo Hello World >myfile.txt
alun@cpc2-bedn1-0-0-cust299:~$ cat myfile.txt
Hello World
alun@cpc2-bedn1-0-0-cust299:~$ echo Hello World >>myfile.txt
alun@cpc2-bedn1-0-0-cust299:~$ cat myfile.txt
Hello World
Hello World
alun@cpc2-bedn1-0-0-cust299:~$

--- End code ---

Navigation

[0] Message Index

[*] Previous page

Go to full version