nohup | split output

Discussion in 'General Linux' started by Hoang Son, Jan 8, 2014.

  1. Hoang Son

    Hoang Son New Member

    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Hi all, I'm using a command as below:

    nohup tshark -i 5 -P -w /tmp/Log.pcap -b filesize:655350|split -b 655350000 - /tmp/log/call_log- &

    And I received the result:

    -rw-r--r--. 1 root root 655350000 Jan 8 19:54 call_log-wu
    -rw-r--r--. 1 root root 655350000 Jan 8 20:30 call_log-wv
    -rw-r--r--. 1 root root 655350000 Jan 8 21:08 call_log-ww
    -rw-r--r--. 1 root root 655350000 Jan 8 21:54 call_log-wx
    -rw-r--r--. 1 root root 655350000 Jan 8 22:54 call_log-wy
    -rw-r--r--. 1 root root 655350000 Jan 9 02:01 call_log-wz
    -rw-r--r--. 1 root root 655350000 Jan 9 06:41 call_log-xa
    -rw-r--r--. 1 root root 655350000 Jan 9 07:37 call_log-xb
    -rw-r--r--. 1 root root 581373312 Jan 9 08:16 call_log-xc


    I wonder what happen if the name of the log file output reach "call_log-zz" ? what is the name of the next output file?
    P/S: Files which have name "call_log-aa", "call_log-ab", "call_log-ac", ... were deleted
    Last edited: Jan 9, 2014

Share This Page