Linux Classes
Share This With a Friend  

cat command help


       cat - concatenate files and print on the standard output
 

SYNOPSIS

       ../src/cat [OPTION] [FILE]...
 

DESCRIPTION

       Concatenate  FILE(s),  or standard input, to standard out­
       put.
 
       -A, --show-all
              equivalent to -vET
 
       -b, --number-nonblank
              number nonblank output lines
 
       -e     equivalent to -vE
 
       -E, --show-ends
              display $ at end of each line
 
       -n, --number
              number all output lines
 
       -s, --squeeze-blank
              never more than one single blank line
 
       -t     equivalent to -vT
 
       -T, --show-tabs
              display TAB characters as ^I
 
       -u     (ignored)
 
       -v, --show-nonprinting
              use ^ and M- notation, except for LFD and TAB
 
       --help display this help and exit
 
       --version
              output version information and exit
 
       With no FILE, or when FILE is -, read standard input.
 

AUTHOR

       Written by Torbjorn Granlund and Richard M. Stallman.
 

REPORTING BUGS

       Report bugs to <bug-textutils@gnu.org>.
 

COPYRIGHT

       Copyright © 1999 Free Software Foundation, Inc.
       This is free software; see the source for  copying  condi­
 

SEE ALSO

       The full documentation for cat is maintained as a  Texinfo
       manual.   If  the  info  and  cat  programs  are  properly
       installed at your site, the command
 
              info cat
 
       should give you access to the complete manual.
 

   

Comments - most recent first
(Please feel free to answer questions posted by others!)

Jools     (17 Mar 2012, 00:28)
Hi,
I am trying to concatenate 306 files that arrive at 300 GB in total.
Although navigation to the folder lets me see all 306 files, when I come to concatenate I am told that over 100 or so file are not recognized.
Can you suggest reasons for this and solutions if any.
F.y.i : I am using putty to control a WD MyBookLive Nas.
After navigating to the folder my commands were:
cd /DataVolume/shares/Public/folder/folder/folder

Then: cat file file and so on > new file name

Great site by the way :-)

Kind regards
Jools
Taruna chaudhary     (20 Aug 2011, 02:08)
this is amazing. . . Thanx
azhar     (05 Nov 2010, 08:31)
thanks..............its simple to learn..thanx

I welcome your comments. However... I am puzzled by many people who say "Please send me the Linux tutorial." This website *is* your Linux Tutorial! Read everything here, learn all you can, ask questions if you like. But don't ask me to send what you already have. :-)

NO SPAM! If you post garbage, it will be deleted, and you will be banned.
*Name:
Email:
Notify me about new comments on this page
Hide my email
*Text:
 
 


Ask Bob Rankin - Free Tech Support


Copyright © by - Privacy Policy
All rights reserved - Redistribution is allowed only with permission.