Co robi TCPSLICE użycie. Konsola Based on timestamps, extract portions of or piece together files.

Czy przydatne?

Polecenie tcpslice

Wykonanie, użycie: System administration command. Reads and manipulates packet capture files created by tcpdump -w. Based on timestamps, extract portions of or piece together files. Display all packets between the given start and end times. tcpslice understands most time and date formats. tcpslice also understands a relative time format specified as a unit of time—e.g., +1h10m to specify the first hour and ten minutes of packets in the specified files. This format is named ymdhmsu after the letters it uses to denote units of time: years, months, days, hours, minutes, seconds, and microseconds. If no constraining dates are specified, the command will print out all packets contained in files

Opcje wykonania tcpslice w konsoli

-d

Print the start and end time of the specified range, then exit.

-r

Print the time and date of the first and last packet in each file, then exit.

-R

Print the raw timestamp of the first and last packet in each file, then exit.

-t

Print times associated with the first and last packet in each file in ymdhmsu format.

-w file

Write output to file instead of standard output.

Przykłady tcpslice działanie w Słownik polecenie T

Przykład TCPSLICE użycie :
Jak użyć Accept output from another command and send it both to standard output and to files (like a T or fork in the road co znaczy.
Przykład TCPSLICE użycie :
Jak użyć lines of a file, then wait for the file to grow. tailf is similar to tail -f , but it does nothing when the file is not growing. Useful for following a logfile, particularly on a laptop when you want krzyżówka.
Przykład TCPSLICE użycie :
Jak użyć lines of each named file (or standard input if - is specified) on standard output. If more than one file is specified, the output includes a header at the beginning of each file: = =>filename < co to jest.
Przykład TCPSLICE użycie :
Jak użyć administration command. Recursively remove regular files and directories in directory with access times older than hours . Specify the directory as an absolute path. This command is usually invoked słownik.
Przykład TCPSLICE użycie :
Jak użyć restore files from an archive medium. If any files are directories, tar acts on the entire subtree. Options need not be preceded by - (though they may be). The exception to this rule is when you are czym jest.