'cat' command in linux

 

      cat – concatenate files and print on the standard output.

      Format cat [options] filename

      Eg!: cat file1

      Displays the content of the file.

      Eg2: cat > file1

      It adds the content to the file file1.

      Ctrl+c save + quit

      Ctrl+z quit

      Eg3: cat >> file1

      Here it appends the file file1.

  • 49 أعضاء وجدوا هذه المقالة مفيدة
هل كانت المقالة مفيدة ؟

مقالات مشابهة

what is the command 'ls' used for?

       ls – list directory contents.    ...

for what the command 'tail' is used for?

  tail – print the last 10 lines of the named file.If more than one file is specified...

for what purpose the commad 'du' is used for?

      du- estimates the file space usage.   Format: du [options] [file]...

what is the use of command 'grep'?

    grep- search one or more files that matches a regular pattern  Format:...

'cp' command in linux

    cp - copy files and directories.  Format: cp [options] source...