- 3,126 hits
Place for playing with commands…
ODOC : $ cat > filenae. this cat command used to create new file,with contents. After typed the above line press Enter. Now you type the contents of the file in many lines. You can end up the file content by pressing the file content by pressing control+D keys.Now that file is created with the contents what you typed before.
$ cat filename. This cmd just view the content of the file. Note : Here > symbol is not used. 🙂