• We did not send an email asking for donations - please read this post.

nohup | split output

H

Hoang Son

Guest
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:
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Linux.org Hosting Donations
Consider making a donation

Members online


Top