CATEGORII DOCUMENTE |
Asp | Autocad | C | Dot net | Excel | Fox pro | Html | Java |
Linux | Mathcad | Photoshop | Php | Sql | Visual studio | Windows | Xml |
tail |
tail [options] [file] Print the last 10 lines of the named file (or standard input if - is specified) on standard output. Optionsn k Begin printing at nth item from end-of-file. k specifies the item to count: l (lines, the default), b (blocks), or c (characters). k Same as -n, but use the default count of 10. n k Like -n, but start at nth item from beginning of file. k Like -k, but count from beginning of file. -c num, --bytes num Print last num bytes. An alternate blocksize may be specified: b 512 bytes k 1 kilobyte m 1 megabyte -f Don't quit at the end of file; 'follow' file as it grows. End when user presses Ctrl-C. -n num, --lines num Print last num lines. -q, --quiet, --silent Suppress filename headers. --version Print version information and then exit. ExamplesShow the last 20 lines containing instances of .Ah: grep '.Ah' file | tail -20Show the last 10 characters of variable name: echo '$name' | tail -cPrint the last two blocks of bigfile: tail -2b bigfile |
Politica de confidentialitate | Termeni si conditii de utilizare |
Vizualizari: 564
Importanta:
Termeni si conditii de utilizare | Contact
© SCRIGROUP 2024 . All rights reserved